diff options
author | Eric Andersen | 2003-10-09 09:43:18 +0000 |
---|---|---|
committer | Eric Andersen | 2003-10-09 09:43:18 +0000 |
commit | 29c77f71ba788fe9d63893e555c239d45905ebbc (patch) | |
tree | 02298f6f20d982cb8daed726a8d68e0abdd14798 /sysklogd/Config.in | |
parent | dae099b2f96ba46bfdd6b598b06dc88713b2d0e8 (diff) | |
download | busybox-29c77f71ba788fe9d63893e555c239d45905ebbc.zip busybox-29c77f71ba788fe9d63893e555c239d45905ebbc.tar.gz |
Arnd Ben Otto writes:
Hi Eric
I have written a small patch for the Busybox syslogd. With this patch
one can limit the size of the messagfile. As soon as the limit is
reached the syslogd can rotate or purge the messagefile(s) on his own.
There is no necessity to use an external rotatescript.
Even if logread does something similar, its very handy to have some
messagefile after your box crash.
I wrote this patch initial vor BB 0.6x where no cron daemon was avail.
Now I adapted it for the new Version and i hope it is still useful. At
least I still use it :-)
bye
Arnd
Diffstat (limited to 'sysklogd/Config.in')
-rw-r--r-- | sysklogd/Config.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysklogd/Config.in b/sysklogd/Config.in index 87b9ed7..83640bb 100644 --- a/sysklogd/Config.in +++ b/sysklogd/Config.in @@ -20,6 +20,14 @@ config CONFIG_SYSLOGD wrong. And something almost always will go wrong if you wait long enough.... +config CONFIG_FEATURE_ROTATE_LOGFILE + bool " Rotate message files" + default n + depends on CONFIG_SYSLOGD + help + This enables syslogd to rotate the message files + on his own. No need to use an external rotatescript. + config CONFIG_FEATURE_REMOTE_LOG bool " Remote Log support" default n |