sajanagr has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to create my own log in /var/log/httpd/test.log.
I have a Perl script which echos the process of the code (success/failure) in this file. But, first I am not able to echo into this particular file, though it does in any other file if done in /tmp. I checked for permissions, but it seems correct.
Second, is using ECHO command the right way to log my files? Please guide through creating a new log in an efficent way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: To create a custom log
by moritz (Cardinal) on Aug 20, 2010 at 09:22 UTC | |
by sajanagr (Acolyte) on Aug 20, 2010 at 09:27 UTC | |
by moritz (Cardinal) on Aug 20, 2010 at 09:32 UTC | |
by sajanagr (Acolyte) on Aug 20, 2010 at 09:39 UTC | |
by happy.barney (Friar) on Aug 20, 2010 at 11:50 UTC | |
by roboticus (Chancellor) on Aug 20, 2010 at 14:53 UTC | |
|
Re: To create a custom log
by pemungkah (Priest) on Aug 20, 2010 at 20:13 UTC | |
by sajanagr (Acolyte) on Aug 27, 2010 at 11:04 UTC |