I am initializing the bunyan logger in my nodejs code as below:
var log = bunyan.createLogger({
name: 'myapp',
stream: process.stdout,
level: 'info'
});
This is from the bunyan docs at https://www.npmjs.org/package/bunyan
The docs mention:
By default, log output is to stdout and at the "info" level.
What I am wondering is: shouldn't the logger be asking me for a file name where I want things logged. Where is the logging happening?
Try this ...
check their home page for further instructions https://github.com/trentm/node-bunyan#streams-introduction
Hope this has helped. :)