Not logged in
Log in now
Create an account
Subscribe to LWN
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
GNU virtual private Ethernet
As for backwards compatibility, I'm personally going to write a FUSE file system which exposes journal records as regular log files. After all, I already have one that does that for Windows...
The Journal - a proposed syslog replacement
Posted Nov 18, 2011 19:59 UTC (Fri) by drag (subscriber, #31333)
I do it for syslogs at work anyways. All the files are stored in gzip format and I have to use 'gunzip -c' to read them.
However, Log files are definitely a weak point for Linux. A huge pain in the ass. If it's a mostly-text file with something like null terminated fields then it would make things a lot easier and more efficient to parse.
Posted Nov 18, 2011 20:18 UTC (Fri) by mathstuf (subscriber, #69389)
Posted Nov 20, 2011 7:49 UTC (Sun) by drag (subscriber, #31333)
Posted Nov 21, 2011 23:56 UTC (Mon) by kmself (guest, #11565)
zgrep will search them.
zcat or zless will dump them to stdout.
lesspipe + less will allow you to view them with less, as you would any other file (lesspipe will also render numerous other file formats as straight text, which is particularly useful).
Woe unto you if you're on a system without these tools, but that's another story. Writing your own shell wrappers (scripts/functions) is trivial.
Posted Nov 22, 2011 0:55 UTC (Tue) by mathstuf (subscriber, #69389)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds