The Toolkit for Online Communities
17233 Community Members, 1 member online, 1697 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : My production site is down : One Message

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

Posted by Randy O'Meara on
An alternate method would be to use 'multilog'. It is part of 'deamontools'. 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 'svc -a /service/<servicename>/log' 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'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'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'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.