+ Reply to Thread
Results 1 to 3 of 3

Thread: log rotation

  1. #1

    log rotation

    Hi,

    Is there is any possible way to rotate apache log files base on the log file size, I want to rotate the log file once it reaches 100MB.

    If I can rotate the log file then how can I do it?
    Holy Quran
    Free Calculator
    national congress party

  2. #2
    Administrator Advisor   peter's Avatar
    Join Date
    Apr 2004
    Posts
    878
    You can use either the "minsize" or "size" options in the logrotate conf file. Check the logrotate man pages for details.

    My sites: Linux Home Networking – Linux Quick Fix Notebook

  3. #3
    Thanks, I will search and make a try. If possible can you post the changes which have to be made in the conf file?
    Holy Quran
    Free Calculator
    national congress party

+ Reply to Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts