Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
They should be paying attention to the lumberjack project
Posted Apr 16, 2012 6:21 UTC (Mon) by quotemstr (subscriber, #45331)
Having more structure than that adds too much complexity to be worthwhile. You can approximate structure using keys.with.dots or numbers --- e.g., filename1=foo filename2=bar. Hierarchy adds far more complexity to makes indexing and browsing, very common cases, than it adds to the very rare log message with repeated units.
Can you give me an example of a situation in which hierarchical logging is clearly better than key-value pairs?
Posted Apr 16, 2012 6:30 UTC (Mon) by Cyberax (✭ supporter ✭, #52523)
And I don't really see how hierarchical data makes logging more complex. If you don't care about it, then simply ignore it.
Posted Apr 17, 2012 16:34 UTC (Tue) by k8to (subscriber, #15413)
Posted Apr 17, 2012 16:36 UTC (Tue) by quotemstr (subscriber, #45331)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds