I am looking at bunch of syslog messages written by dhcpd. I want to write a quick parser that can deconstruct the message into its component parts, but I don't know what the various parts mean. I assume this is documented somewhere, but my simple queries (like dhcpd syslog message format) on Google have failed to turn up any useful documentation.
feedback
|
|
Why parse the log files? What you really want to read is the leases file. That's where all the useful information is, and its format is very machine-readable. | |||
feedback
|
|
dhcpd is pretty sparsely documented in general - I've never seen docs on the logging format. I think the source is your best hope. | |||
feedback
|
|
I experienced the same agony just like you. I seached on Google for several hours but no result. Finally, I found in the "man in.dhcpd", at the part of "-l syslog_local_facility", there is a format description for the log file. | ||||
|
feedback
|