Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to aid in script logging/debugging' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to aid in script logging/debugging
Authored by: Lutin on Aug 21, '06 08:46:23AM

I tested this and it works as described.
It doesn't produce any error if it couldn't write to the file (lack of permission...), but I guess it doesn't really matter.
Might be helpful at times.



[ Reply to This | # ]
A script to aid in script logging/debugging
Authored by: danger guy on Aug 21, '06 09:22:30AM

When there's an error, like a file permissions error, the script will log to the system log file /var/log/system.log. check your system log when you don't see the errors you'd expect.

-aaron



[ Reply to This | # ]