For apache on linux I use:
ll -trd `locate error_log`
If you have more than one file names 'error_log', the last one listed is most likely the one you want as it it the one most recently written. YMMV radcially on a Virtual server. system, however.
Other *nix systems may not have locate. ll is an alias for ls -l.
--Bob Niederman, http://bob-n.comIn reply to Re: Finding webserver error log
by bobn
in thread Finding webserver error log
by pravi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |