Re: debug and minidebug to syslog instead of to a file
Salvatore Toribio <[email protected]> Wed, 16 Apr 2008 17:33:46 +0200
| Newsgroups | gmane.mail.qmail.scanner |
|---|---|
| Message-ID | <a06240806c42bcb35ff1a@[193.43.129.200]> |
At 9:52 -0400 16-04-2008, Asif Iqbal wrote:
> >
>> sub minidebug {
> > my (&msg) = @_ ;
> > return if (!$MINIDEBUG);
> >
Reading your answer I found a typo in the code I sent, the first line
of the routine must be:
my ($msg) = @_ ;
>Salvatore, really appreciate your help.
>
>I would still think there "should" be an option to send the
>debug/minidebug log to send to either file or syslog
>instead of just file.
>
>May be a feature request for Jason Haar or patch request for you :-)
>
I don't understand why you prefer syslog instead of a file, if you
are logging in the same box where qmail-scanner run...
I use the qmail-queue.log and logrotate to rotate the file and
everything is working ok.
Regards
ST
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone