Re: Log file creation and file rolling
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | tolj.org system architecture |
| Message-ID | <[email protected]> |
Alejandro Guerrieri schrieb:
> Hi,
>
> There are a lot of options that can save you from coding a log rotation
> scheme. You could pipe your logs to one of the many log rotators
> available on the 'net (google it and you'll find many options) or you
> could just rename the logs and kill -HUP to restart logging. Check
> logrotated for this last one.
yep, confirming Alejandro here. Rather to do it internally, we suggest to use
'lograte' to do it, which is a more generic approach, since it controls the
"roation" of other daemon logs too, and can do gzip'ing of the old logs and you
can configure how file name date appending takes place, and now long your
history should be preserved.
Also there is a section the user's guide at
http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN5621
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------