Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

[LOG_HANDLING]

Summary

Log Handling

Description

The Log Handling constants allow the changing of the max log file size and the number of files to keep while the logs are rotated for files generated by eZ Publish (eZDebug) and custom log files (eZLog).

Maximum default file size in bytes of eZ Publish generated log, i.e.: error.log, warning.log, notice.log and strict.log files is 200Kb.

define ( 'EZPUBLISH_LOG_MAX_FILE_SIZE', 204800 )

Number of files to keep while rotating eZ Publish generated log. Set this constant to 0 to disable the built-in log rotation.

define ( 'EZPUBLISH_LOG_ROTATE_FILES', 3 )

Maximum file size in bytes of custom log file generated with eZLog class

define ( 'CUSTOM_LOG_MAX_FILE_SIZE', 204800 )

Number of files to keep while rotating custom log file. Set this constant to 0 to disable the build-in log rotation.

define ( 'CUSTOM_LOG_ROTATE_FILES', 3 )

Andrea Melo (06/09/2012 3:37 pm)

Andrea Melo (07/09/2012 10:39 am)


Comments

There are no comments.