http://qs321.pair.com?node_id=1003941


in reply to Log File Rotation

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-logdirectory

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)