Forum


Replies: 2   Views: 3802
Log
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by zstov  · 22-05-2011 - 14:19

Hello,

what should I do to start log file?

thanks

Posted by admin  · 11-04-2013 - 12:12

Hello,

Open code/log4php.properties and use the following lines:

log4php.rootLogger = DEBUG, phpdocx_error

log4php.appender.phpdocx_error = LoggerAppenderRollingFile
log4php.appender.phpdocx_error.file = ../log/phpdocx.log
log4php.appender.phpdocx_error.layout = LoggerLayoutTTCC
log4php.appender.phpdocx_error.MaxFileSize = 2MB
log4php.appender.phpdocx_error.MaxBackupIndex = 3

Regards.