Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 67 lines (62 sloc) 3.371 kB
f52240e @trentm remove .npmignore, https://github.com/isaacs/npm/issues/2144 is the p…
authored
1 - finish jsstyle work
96db4f2 @trentm TODO updates
authored
2 - [Yuonong] buffered writes to increase speed:
3 - I'd start with a tools/timeoutput.js for some numbers to compare
4 before/after. Sustained high output to a file.
0096046 @trentm TODO udpates
authored
5 - perhaps this would be a "buffered: true" option on the stream object
6 - then wrap the "stream" with a local class that handles the buffering
96db4f2 @trentm TODO updates
authored
7 - to finish this, need the 'log.close' and `process.on('exit', ...)`
8 work that Trent has started.
fdb9114 @trentm multiple streams support at different levels; add 'file' stream type
authored
9 - "canWrite" handling for full streams. Need to buffer a la log4js
947e46f @trentm start serializers support. Add 'req' standard serializer. You can add…
authored
10 - test file log with logadm rotation: does it handle that?
aedf666 @trentm TODOs from feedback
authored
11 - test suite:
12 - test for a cloned logger double-`stream.end()` causing problems.
13 Perhaps the "closeOnExit" for existing streams should be false for
14 clones.
947e46f @trentm start serializers support. Add 'req' standard serializer. You can add…
authored
15 - test that a `log.clone(...)` adding a new field matching a serializer
16 works *and* that an existing field in the parent is not *re-serialized*.
44d280d @trentm add TRACE level (use for external libraries). Also, some doc updates.
authored
17 - a "rolling-file" stream: but specifically by time, e.g. hourly. (MarkC
18 requested)
0096046 @trentm TODO udpates
authored
19 - ringBuffer stream
96db4f2 @trentm TODO updates
authored
20 - split out `bunyan` cli to a "bunyan" or "bunyan-reader" or "node-bunyan-reader"
21 as the basis for tools to consume bunyan logs. It can grow indep of node-bunyan
22 for generating the logs.
23 It would take a Bunyan log record object and be expected to emit it.
62812ba @trentm std rendering of 'client_req' (http client request) field in bunyan C…
authored
24 - document "well-known" keys from bunyan CLI p.o.v.. Add "client_req".
0a6e4bc @trentm TODO
authored
25 - bunyan tool: built in less usage (a la git?) so that I don't have to
26 go through this: `bunyan --color master.log | less -R`
96db4f2 @trentm TODO updates
authored
27
44d280d @trentm add TRACE level (use for external libraries). Also, some doc updates.
authored
28
29
30 # someday/maybe
31
f52240e @trentm remove .npmignore, https://github.com/isaacs/npm/issues/2144 is the p…
authored
32 - remove "rm -rf tmp" when this fixed: <https://github.com/isaacs/npm/issues/2144>
96db4f2 @trentm TODO updates
authored
33 - what about promoting 'latency' field and making that easier?
fd2bd3f @trentm TODO
authored
34 - `log.close` to close streams and shutdown and `this.closed`
35 process.on('exit', log.close)
e934baf @trentm v0.4: add 'src' call source location info support (the Yunong release)
authored
36 - bunyan cli: -c COND args a la json
0096046 @trentm TODO udpates
authored
37 - bunyan cli: more layouts (http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/EnhancedPatternLayout.html)
38 Custom log formats (in config file? in '-f' arg) using printf or hogan.js
39 or whatever. Dap wants field width control for lining up. Hogan.js is
40 probably overkill for this.
41 - syslog: Josh uses https://github.com/chrisdew/node-syslog
42 streams: [
43 ...
44 {
45 level: "warn",
46 type: "syslog",
47 syslog_facility: "LOG_LOCAL1", // one of the syslog facility defines
48 syslog_pid: true, // syslog logopt "LOG_PID"
49 syslog_cons: false // syslog logopt "LOG_CONS"
50 }
e934baf @trentm v0.4: add 'src' call source location info support (the Yunong release)
authored
51 - bunyan "compact" or "light", '-l'? Something like. Or pehaps this (with
52 color) could be the default, with '-l' for long output.
53 13:51.340 [src.js:20#Wuzzle.woos] WARN: This wuzzle is woosey.
40777aa @trentm 'log.child(..., true)' support for 10x faster with 'simple' field add…
authored
54 - get Mark to show me dtrace provider stuff and consider adding for
55 logging, if helpful.
a475a1a @trentm 0.2: specing core log record fields (mainly)
authored
56 - add option to "streams" to take the raw object, not serialized.
44d280d @trentm add TRACE level (use for external libraries). Also, some doc updates.
authored
57 It would be a good hook for people with custom needs that Bunyan doesn't
9f5581b @trentm issue #3: more type checking of Logger ctor options and log.child opt…
authored
58 care about (e.g. http://loggly.com/ or hook.io or whatever).
96db4f2 @trentm TODO updates
authored
59 - serializer `req_id` that pulls it from req? `log.info({req_id: req}, "hi")`
7d3431e @trentm res (HTTP server response) serializer; some cleanup; 'err.js' example;
authored
60 - serializer support:
61 - restify-server.js example -> restifyReq ? or have `req` detect that.
62 That is nicer for the "use all standard ones". *Does* restify req
63 have anything special?
64 - differential HTTP *client* req/res with *server* req/res.
a475a1a @trentm 0.2: specing core log record fields (mainly)
authored
65 - statsd stream? http://codeascraft.etsy.com/2011/02/15/measure-anything-measure-everything/
66 Think about it.
Something went wrong with that request. Please try again.