SUMMARY: System logging in batches

From: Andy Ford (andy.ford@telindus.co.uk)
Date: Wed Jan 19 2005 - 06:13:25 EST


ok ok - everyone is allowed a stupid question once in a while.
I was looking in the wrong place.

The suggestions were to use S|=1, and S|=1 works btw.

Something I use extensively in other scripts.

Thanks

Andy

On Wed, 2005-01-19 at 11:03 +0000, Andy Ford wrote:
> Hi everyone
>
> I'm not sure whether this is a particular issue related to what I am
> doing ... here goes...
>
> I am running a perl process that connects to the sysV kernel queues
> (aside). I want this process to log all STDOUT & STDERR stuff to one
> file, so I do this ...
>
> perl_proc > /var/log/some_log_file.log 2>&1 &
>
> This does work, however, the STDOUT part logs to the file in batches.
> Can this be changed to log every time the script prints to STDOUT.
>
> I have played with metalog under gentoo linux and know it's possible.
>
> I'm not even sure which process controls logging under Solaris 2.8!
>
> Thanks
>
> Andy
> --
> perl -e "print qq^bIG VeRN ! ^^qq^#'#Yv#=<D+ ^"
>
> This e-mail is private and may be confidential and is for the intended
> recipient only. If misdirected, please notify us by telephone and confirm
> that it has been deleted from your system and any copies destroyed. If you
> are not the intended recipient you are strictly prohibited from using,
> printing, copying, distributing or disseminating this e-mail or any
> information contained in it. We use reasonable endeavours to virus scan all
> e-mails leaving the Company but no warranty is given that this e-mail and any
> attachments are virus free. You should undertake your own virus checking.
> The right to monitor e-mail communications through our network is reserved by
> us.
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers

-- 
perl -e "print qq^bIG VeRN ! ^^qq^#'#Yv#=<D+ ^"
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:02 EDT