Query regarding logrotate utility
Andrew Bacchi
bacchi at rpi.edu
Wed Jun 6 13:00:45 UTC 2007
Look in /etc/logrotate.d/ directory. Use one of the files there as an
example and set up a new file to rotate your application logs. You can
also set parameters per file there.
Nithya Chandrakesan wrote:
> Hi all,
>
> I have changed "logrotate.conf" to rotate the log files generated by our
> application on a daily basis.
>
> While executing logrotate even with -f option, all other log files in
> /var/log are getting rotated properly, except our application generated
> logfile. Is there something else I should take care of?
>
> Appreciate your timely inputs.
>
> Thanks,
> Nithya.
--
veritatas simplex oratio est
-Seneca
Andrew Bacchi
Systems Programmer
Rensselaer Polytechnic Institute
phone: 518.276.6415 fax: 518.276.2809
http://www.rpi.edu/~bacchi/
More information about the redhat-list
mailing list