![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Log File Rotationby afoken (Canon) |
on Nov 15, 2012 at 07:08 UTC ( #1003941=note: print w/replies, xml ) | Need Help?? |
If you can make the program write its log to a file handle (STDOUT, /dev/fd/1), you can use multilog and a simple pipe: /usr/local/bin/your-program --logfile=/dev/fd/1 | /command/multilog t s100000000 /var/log/your-programs-logdirectoryAlexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|