Path

ez projects / sqliimport / forum / general / can i change the log file e...


Can i change the log file ERRORLOG_FILE?

You need to be logged in to post messages in the forums. New users may register here.

Anis KOSSENTINI

Member since:
10 December 2010

Posts: 1

Thursday 26 May 2011 11:35:28 am

Hello,
I want to change the location and file name error.
example:
var / log / sqliimport-error.log to var/myproject/logs/myimport/error_2011_05_26.log
Thank you
Up

Jérôme Vieilledent

Member since:
09 January 2008

Posts: 98

Thursday 26 May 2011 11:49:01 am

Hello

It depends. If it is for internal errors (i.e. parsing exceptions, caught by the import framework and not by your handler), this is not possible.
However you can of course write your own logs in your handler via eZLog :



eZLog::write( 'My error message', 'error_2011_05_26.log', 'var/myproject/logs/myimport' );


Up

You need to be logged in to post messages in the forums. New users may register here.