They should be paying attention to the lumberjack project
Posted Apr 15, 2012 3:00 UTC (Sun) by
jzbiciak (
✭ supporter ✭, #5246)
In reply to:
They should be paying attention to the lumberjack project by jzbiciak
Parent article:
Toward more reliable logging
Expanding on my SDL comment... You could easily imagine capturing many repeated aspects of a log entry in the entry type and attributes, rather than fields within the entry record itself. eg:
Example record from my /var/log/messages:
Apr 8 14:23:44 elysium kernel: [9234662.980516] r8169 0000:03:00.0: eth0: link up
One possible way to split between attributes and keys within the container:
entry date=1333913564 host=elysium source=kernel level=info timestamp=9234662.980516 \
{ message="r8169 0000:03:00.0: eth0: link up" }
Or something...
Honestly, I go back and forth between the value of attributed types vs. just embedding the information as fields within the structure. What color do I want my bikeshed today?
(
Log in to post comments)