...
This will append a timestamp to the end of the php.log file name. The next time PHP needs to write a php.log entry, it will create a new php.log file. You can run this CL program periodically using the Job Scheduler. Once a week might be a good choice.
Warning |
---|
title | Delete old renamed files periodically. |
---|
|
Once in a while go to the /usr/local/zendphp7/var/log directory and delete the old renamed files. It is important to not let the directory to fill up with too many old files, in case a Support Tool is needed. Too many files can make the Support Tool archive too large to attach to a support ticket. |
Previous versions:
Note |
---|
title | Note: For Zend Server 6 - 8.x customers |
---|
|
The location of the php.log file is /usr/local/zendsvr6/var/log/php.log. Please adjust the above CL source accordingly. |
...