Hi,
I am using error_log to ... keep an error log. The problem is that I would like to have the name of the log file change through out the execution of my script. So for example I will start logging to a file called FAILED.log. Once the entire script completes i would like to use rename() to change its name to SUCCESS.log.
This is not working, I am getting the following error:
Warning: rename(./FAILED.log, ./SUCCESs.log) [function.rename]: No such file or directory in myscript.php on line xxx
Is there an explanation for this?
Thanks,
Billy