Stefan Georg wrote:
Hey, what is the best way to set the size or time for var/log/error.log to be 
rotated out? We have a lot of debugging info from modules/extensions and very 
quickly something reported in the logs will already be flushed out by newer 
logs making forensics difficult.

Stefan

1: you should really fix your modules/extensions so that they do not produce as 
many error messages:
  . less io on the disk is good for your server
  . easier to find errors when you need to analyze the logs because there are 
real problems and not just everyday traffic

2: there is no "best way" currently: but a hack is described here: 
http://issues.ez.no/IssueView.php?Id=14714

you can use the config.php file to alter two global vars:

$GLOBALS['eZDebugMaxLogSize'] = max size in bytes;
$GLOBALS['eZDebugMaxLogrotateFiles'] = nr. of rotated log files to be kept;

bye
Gaetano

<<attachment: gg.vcf>>

-- 
Sdk-public mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/sdk-public

Reply via email to