Hi Joachim
I have a patch which limits the log file size, and upon reaching the
limit it will rename to messages~ and start a fresh.
The size is given in syslog.conf as eg /var/log/messages,10M
I'v had it on my todo list for long time to give the patch back to
comunity.
Unfortunately it is bundled with a patch to write ERROR,INFO etc to the
log file.
/// Kjeld
-----Original Message-----
From: Joachim Nilsson [mailto:troglobit_at_gmail.com]
Sent: 10. oktober 2009 18:23
To: infodrom-sysklogd_at_lists.infodrom.org
Subject: Built-in support for rotating logfiles?
Hi,
does anyone know of any patches floating around for built-in support for
rotating logfiles?
I've found sysklogd to be quite interesting for embedded systems.
Quite a bit more capable than the default BusyBox version. Only trouble
is that the BusyBox version has rotation built-in. (It has a few other
neat things as well, but those I hope I can live without...)
Unless you guys know of anything I'll go ahead and port the BusyBox log
rotate functionality.
Regards
/Joachim Nilsson
-- To UNSUBSCRIBE, send an email to infodrom-sysklogd-request_at_lists.infodrom.org with a subject of "unsubscribe". Trouble? Contact listmaster_at_lists.infodrom.orgReceived on Sun Oct 11 2009 - 11:44:25 CEST
This archive was generated by hypermail 2.2.0 : Sun Oct 11 2009 - 11:44:33 CEST