Monday 26 March 2007 8:30:45 am
Hi, I'd also like to monitor separately the public site from administrative site. LogFiles are hard coded in EzDebug, may be because some errors may be traced before knowing the siteaccess ? The shortest way I found was to change ezDebug "writeFile" to include from :
$logDir = $logFileData[0]; $logName = $logFileData[1]; to :
$ini =& eZINI::instance();
$logSite = $ini->variable( 'SiteSettings', 'SiteURL' );
$logDir = $logFileData[0]; $logName = $logSite.'_'.$logFileData[1]; It suits my needs, and, I think, maintains log rotation.
|