node-bunyan-lite/TODO.md

31 lines
1.2 KiB
Markdown
Raw Normal View History

- renderer support (i.e. repr of a restify request obj)
- expand set of fields: from dap
time, hostname
2012-01-30 20:01:15 +00:00
<https://github.com/Graylog2/graylog2-docs/wiki/GELF>
<http://journal.paul.querna.org/articles/2011/12/26/log-for-machines-in-json/>
require: facility and hostname
- bunyan cli: more layouts (http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html)
- bunyan cli: filter args a la json
- bunyan cli: -c COND args a la json
2012-01-30 06:26:47 +00:00
- docs
- mark wants pretty output for debug output
- not sure if 'bunyan --pretty' or whatever would suffice
- ringBuffer stream
- syslog: Josh uses https://github.com/chrisdew/node-syslog
streams: [
...
{
level: "warn",
type: "syslog",
syslog_facility: "LOG_LOCAL1", // one of the syslog facility defines
syslog_pid: true, // syslog logopt "LOG_PID"
syslog_cons: false // syslog logopt "LOG_CONS"
}
- Logger.setLevel()? How to change level for a given stream. Default all,
else, give an index... or type ... or support stream "names".
2012-01-30 06:26:47 +00:00
- Logger.set to mutate config or `this.fields`
- Logger.del to remove a field
- "canWrite" handling for full streams. Need to buffer a la log4js
2012-01-30 20:01:15 +00:00
- test suite