"Define "better"."
1. check the file size. if it is larger than a certain size then rename the
current log and roll over to a new filename
2. if something fatal happens during normal program use shutdown the
program/website section and display a page that says unavaliable or
something of that sort
From: "Andy B" <[EMAIL PROTECTED]>
> is it better overall to write a custom file
> wrapper (write my own log functions)
> or use the error_log/syslog that php already gives??
Define "better".
Which one suits your needs? Obviously, if error_log does what you need it to
do, then use it. Why write
is it better overall to write a custom file wrapper (write my own log functions) or
use the error_log/syslog that php already gives??
3 matches
Mail list logo