Going nuts trying to write errors to custom log file!
Posted: Sun Apr 12, 2009 10:30 pm
Hi everyone,
I am literally pulling my hair out trying to figure out for the life of me how to write simple print statements to a custom log file. I have spent hours on this and just can't do it.
If anyone can give me a heads up it would be appreciated.
I have set all the correct settings in the php.ini file to output errors to a customer log file. The file being under my home directory path in a linux install.
I have created the file but no printed statements ever make it into the file.
All I want to do is print some statements into a text file. No fancy error reporting. Just some plain printing of this or that message I make up into a text file. How hard can this be?
Any input or suggestions would be appreciated.
Thanks.
Carlos
I am literally pulling my hair out trying to figure out for the life of me how to write simple print statements to a custom log file. I have spent hours on this and just can't do it.
If anyone can give me a heads up it would be appreciated.
I have set all the correct settings in the php.ini file to output errors to a customer log file. The file being under my home directory path in a linux install.
I have created the file but no printed statements ever make it into the file.
All I want to do is print some statements into a text file. No fancy error reporting. Just some plain printing of this or that message I make up into a text file. How hard can this be?
Any input or suggestions would be appreciated.
Thanks.
Carlos