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: adrianm on Aug 21, '06 12:08:41PM

why? /usr/bin/logger is a command-line interface to syslog. it won't write to an arbitrary log file.



[ Reply to This | # ]
A script to aid in script logging/debugging
Authored by: jeremyp on Aug 21, '06 12:42:33PM

And if you are logging why would you not want to use the operating system's built in log facility?



[ Reply to This | # ]
A script to aid in script logging/debugging
Authored by: danger guy on Aug 21, '06 08:32:08PM

because sometimes you're just debugging code and sometimes you want to keep track of specific info (login/out detials or your own application output) that otherwise doesn't make sense being dumped in the system log.



[ Reply to This | # ]