Managing the Log Files

There are three logfiles kept by the server, normally in its ./logs/ subdirectory:

The console log is cleared each time the server is started. The error and access logs accumulate indefinitely without regard for server interruptions.

All of the logfiles are kept open by the server while it is running. Therefore, you will cause an error to occur if you delete a logfile with the server operating.

To rotate one of the log files, do the following:

  1. Rename the logfile.
  2. Quickly stop and restart the server.

This will cause all new server processes to log to a new log file. You may then do what you wish with the old log file.


Return to the Administration Overview

httpd@ncsa.uiuc.edu