procmail
[Top] [All Lists]

Re: Conrolling large log files

2004-10-13 03:21:42
Am 2004-10-12 19:41:01, schrieb Justin Gombos:
* Michelle Konzack <linux4michelle(_at_)freenet(_dot_)de> [2004-10-09 10:40]:
Hello, 

Activating of "Verbose=on" is no option for me, because a one-time
download of 179 Mailboxes let my procmail.log explode to more then
8 MBytes. 

I deal with the huge infinitely growing logfile issue by using the
following (abridged) code at the top of my main script:

PROCESSED_YEAR = `date +"%Y"`
PROCESSED_WOY  = `date +"%V"`

LOGFILE = $HOME/logs/procmail_$PROCESSED_WOY-${PROCESSED_YEAR}.log

So I end up branching into a new log file every week.

This is not what I mean...
I have already daily logfiles.

I like to put commends into the procmail logfile without using 

VERBOSE=on
...
VERBOSE=off

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>