This is a example app created by using express-generator
and adding express-pino-logger
and pino-seq
packages.
It's used to test end-to-end logging from a node.js app to Seq, using the pino
logging library.
$ npm install
Make sure you have an instance of Seq running. The easiest way to do this is to run docker run --name seq -d -e ACCEPT_EULA=Y -p 5341:80 datalust/seq:latest
$ npm run start // pino-seq will send logs to localhost:5341 by default
Open localhost:3000 to browse your Express app, and generate request logs
Browse localhost:5341 to see your request logs in Seq.