- Add more fine grained control over how log rotation is supposed to behave
- Add command line option processing to usyslogd
- Expose log rotation control via command line switches
- Add default values to usyslogd service for pygos use case
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit seperates the formating and printing of log messages to files
more cleanly from the message pump that retrieves the log messages.
At a later point, other backends could be added more easiyl (e.g. forward
the log message to some server).
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
For now this daemon simply dumps all syslog messages into seperate log
files and doesn't do much parsing. Since the messages are readable ASCII
anyway, this should not be to much of a problem and sufficient for
debugging.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>