From: Larry G. <Li...@IS...> - 2003-08-17 18:26:55
|
Hi Neil, I am running Red Hat and added a file to /etc/logrotate.d/ called webmin. The file has the following contents: /var/webmin/miniserv.error /var/webmin/miniserv.log /var/webmin/webmin.log { missingok notifempty sharedscripts postrotate /bin/kill -HUP `cat /var/webmin/miniserv.pid 2>/dev/null` 2> /dev/null || true endscript } It is the same contents as httpd logrotate. --Larry >-----Original Message----- >From: Neil Aggarwal >Hello: > >It looks like webmin uses these logs: > /var/webmin/miniserv.error > /var/webmin/miniserv.log > /var/webmin/webmin.log > >But it does not automatically set up logrotation of them. > >If I add these lines to /etc/logrotate.conf, they should rotate: >/var/webmin/*.log /var/webmin/*.error { >} > >Will this cause problems for webmin in any way? > >Thanks, > Neil > >-- >Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com >FREE! Valuable info on how your business can reduce operating costs by >17% or more in 6 months or less! => >http://newsletter.JAMMConsulting.com > > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_ >072303_01/01 >- >Forwarded by the Webmin mailing list at >web...@li... >To remove yourself from this list, go to >http://lists.sourceforge.net/lists/listinfo/webadmin-list > |