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.
>
On Wed, Apr 16, 2008 at 7:39 AM, Salvatore Toribio <[EMAIL PROTECTED]> wrote:
> At 13:08 -0400 15-04-2008, Asif Iqbal wrote:
>
> >
> > And I see this log *only* in qmail-queue.log but not in syslog's
> > mail.info (aka maillog yes)
> >
> > Tue, 15 Apr 2008 17:01:40 GMT:26206: +++ starting debugging
At 13:08 -0400 15-04-2008, Asif Iqbal wrote:
>And I see this log *only* in qmail-queue.log but not in syslog's
>mail.info (aka maillog yes)
>
>Tue, 15 Apr 2008 17:01:40 GMT:26206: +++ starting debugging for
>process 26206 (ppid=26197) by uid=7791
>Tue, 15 Apr 2008 17:01:40 GMT:26206: w_c: Total tim
On Tue, Apr 15, 2008 at 11:33 AM, Salvatore Toribio <[EMAIL PROTECTED]> wrote:
> At 10:40 -0400 15-04-2008, Asif Iqbal wrote:
>
> > On Tue, Apr 15, 2008 at 4:27 AM, Salvatore Toribio <[EMAIL PROTECTED]>
> wrote:
> >
> > > At 11:20 -0400 14-04-2008, Asif Iqbal wrote:
> > >
> > > > So I am assuming
At 10:40 -0400 15-04-2008, Asif Iqbal wrote:
>On Tue, Apr 15, 2008 at 4:27 AM, Salvatore Toribio <[EMAIL PROTECTED]> wrote:
>> At 11:20 -0400 14-04-2008, Asif Iqbal wrote:
>>
>> > So I am assuming I need to somehome replace this `select(LOG);$|=1;'
>> > with system call to `logger' command?
>>
On Tue, Apr 15, 2008 at 4:27 AM, Salvatore Toribio <[EMAIL PROTECTED]> wrote:
> At 11:20 -0400 14-04-2008, Asif Iqbal wrote:
>
> > So I am assuming I need to somehome replace this `select(LOG);$|=1;'
> > with system call to `logger' command?
> >
> > Still looking for suggestion
> >
>
> I don't kno
At 11:20 -0400 14-04-2008, Asif Iqbal wrote:
>So I am assuming I need to somehome replace this `select(LOG);$|=1;'
>with system call to `logger' command?
>
>Still looking for suggestion
I don't know why are you trying this to write again in the same file...
Have a look at the file 'sub-log_msg.pl
So I am assuming I need to somehome replace this `select(LOG);$|=1;'
with system call to `logger' command?
Still looking for suggestion
On Sat, Apr 12, 2008 at 4:54 PM, Asif Iqbal <[EMAIL PROTECTED]> wrote:
> How do I modify this to send the debug/minidebug log to syslog instead
> of to file?
>
How do I modify this to send the debug/minidebug log to syslog instead
of to file?
Right now they are going to qmail-queue.log file.
I rather send them to syslog and config syslog to point to
qmail-queue.log or wherever.
if ($DEBUG || $MINIDEBUG ) {
open(LOG,">>$logdir/$debuglog");
select(L