LWN.net Logo

It's not true...

It's not true...

Posted Nov 21, 2011 18:41 UTC (Mon) by khim (subscriber, #9252)
In reply to: The Journal - a proposed syslog replacement by sorpigal
Parent article: The Journal - a proposed syslog replacement

It seems logical to say that a standard binary format is just as good as a standard text format

This is not true. To pull useful data from corrupted text file you need a human being. To pull it from binary format with embedded CRC checks you only need to rigorpously use one very fast function. Sure, this only protects the data from accidental changes (zero-out pages in the middle, bitflips, that kind of things) but the funny thing that when people describe how they heroically recover data from corrupt disk or filesystem it's almost always from accidental corruption.

The extra overhead was a lot worse back when this idea was developed, yet they stuck with it anyway.

Actually it's much worse today. When you had hundreds of kilobytes or may be few megabytes of logs - human as "recovery system" works. When there are gigabytes, terabytes and petabytes of logs - it's hopeless.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds