Re: Logging based on date

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
[email protected] schrieb:
> Hi,
> 
> 	I would like to ask was it possible for kannel to write the log file
> based on date? Which mean every day/week a new log file is created for the
> purpose of logging. The current logging will only log on the same log
> file. Ie. Current log file name : smsbox.log --> become
> 2008-01-01-smsbox.log, 2008-01-02-smsbox.log.

now, a lot of users use logrotate for this, my suggestion:

   $ man logrotate

;)

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
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.