In this Topic Hide
This issue is intended for advanced users who want to change the directory for storing Zend component Log files.
By default, component logs are written to the directory specified in the directive zend.log_dir in the ZendGlobalDirectives.ini file located in <install_path>/etc/conf.d/ZendGlobalDirectives.ini .
If you change the path, the following components will write their logs to the new location:
|
|
To Change the Log directory in Linux:
chown -r [Apache-user]:zend [new directory]
|
|
Now the log files for the Zend Page Cache and Zend Monitor components will be written to the new location. This means that some log files such as Apache and PHP, will still be written to the default directory (<install_path>/var/log) |
|
|
To Change the Log directory in Windows:
|
|
Now the log files for the Zend Page Cache and Zend Monitor components will be written to the new location. This means that some log files such as Apache and PHP, will still be written to the default directory (<install_path>\logs). Note The new directory must have the same permissions as the original logs directory. |
|
|
|
|
|
|