Hi Shawn! Le 13 mars 2011 22:01, Shawn Boles <[email protected]> a écrit : > So, I've off and on I've had logging set up on my Liquidsoap servers. I > really like being able to roll through the logs whenever there's a hick-up > on the server... or sometimes just out of curiosity. > However, basically this involves just having a huge log file in /tmp that I > can tail off of or whatever, but this isn't very good actually. What I > would like to have is a rotating log that I can have handly for my streams, > but one which doesn't end up 14GB big. > How do you guys handle logging? I'd like to have an easily searchable log > that I can process for interesting information without taking up gigabytes > of hard disk. > Any ideas?
The default setting in Debian (scripts in /etc/liquidsoap and logs in /var/log/liquidsoap) has a support for logrotate which may do what you need. If for some reason the default setting is not ok for you or does not work, you may cook up your own logrotate script, for instance using our default one: http://code.sourcefabric.org/browse/liquidsoap/liquidsoap/scripts/liquidsoap.logrotate.in?r=639dd712ff8a61a75b965ae7afe1fcf8f6ef11a6 Finally, if you want to reduce log's verbosity, you should choose a lower log.level setting.. Romain > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users > > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
