Forum OpenACS Q&A: Re: My production site is down

Posted by Randy O'Meara on
An alternate method would be to use &#39;multilog&#39;. It is part of &#39;deamontools&#39;. It will roll logs based on various conditions, one of which is file size. I have used multilog for quite some time without a problem. I particularly like the ability to use the &#39;svc -a /service/<servicename>/log&#39; command to roll the logs on demand.

Another benefit in using multilog is that I can (and do) send package-specific log entries to a separate log file. This allows me to look at just the messages related to the package/module that I&#39;m working on at the moment without having to weed through voluminous non-related log entries. There is some setup and a small amount of coding required to do this. For me, it&#39;s worth the trouble. It essentially involves adding a unique prefix string to messages as they are logged, and then using multilog to stream these prefixed messages to a separate file.

If there&#39;s interest, I will provide an example of this type of setup.


Posted by Bart Teeuwisse on

please do post an example setup for package specific log files using multilog.