Sasa Posted February 6, 2014 Report Share Posted February 6, 2014 (edited) Vēlos saviem virtuālo hostu log failiem uzlikt rotāciju izmantojot linux logrotate demonu. Atradu šādu rakstiņu http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-2-logrotate/ izlasot nesaprotu vienu momentu kāpēc tur ir vēl tas apache restarts? Idejiski ja man vajag pielikt savu log failu rotāciju tad man attiecīgi jāpapildina /etc/logrotate.d/apache2 ar lavu logu atrašanos vietu un rotācijas parametriem? PS. atradu ka Apache arī ir savs rotatelogs http://makandracards.com/makandra/1165-how-to-apache-logs-on-a-daily-basis-without-logrotate , kuru no abiem labāk/ieteicams lietot? Edited February 6, 2014 by Sasa Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.