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.