I am familiar with bunyan and how you can add arbitrary fields to the JSON output. The client lets you filter based on those fields, but it still has the weakness of hiding log lines under log levels and giving you more than you want.
Tagged logs allow you to ignore subjects you are not interested in. You can very simply turn off the noise when you are debugging and get to the problem more quickly. You could filter tags on the way out of the program, or you could filter tags when reading in a file (tagalog does not do this right now, but it might). Tagging is the way you have the content describe itself, instead of setting an arbitrary number to say how 'important' it is. Imagine that you are debugging a program and you don't have the luxury of using breakpoints; With log levels you need to set the verbosity at maximum because you need to see all your lines to hunt down the bug. Unfortunately you now are inundated with every single log line that you ever wrote (even the dumb ones, like 'I am here!'). There are lots of ways you could handle this issue, but why are you wasting time printing stuff you don't want to look at? With tagalog you can put as many hashtags as you want in your log string and tagalog will send that string out to every stream that is matched to a hashtag. You would write multiple log files, each one dealing with a different subject and debug them one by one. The total development time that I have put into tagalog is under a half hour, so I wouldn't advise you to use it as much of anything right now. I used a proprietary tagged log system at a past job and my experience with tags has been so much better than with log levels. (I am aware that tagalog is a language, I've met many nice people who can speak it :) ) Josh -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
