Apache configuration help - logging?
| From: | Ben Heuer | Date: | Thu, 30 Nov 2000 04:01:44 +0000 |
| Subject: | Apache configuration help - logging? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-27797@lists.php.net to get a copy of this message | ||
Hello:
I wonder if I need to do it using PHP, or can I do it in Apache's own error logging. What I
need is to log errors that occur with the database and get thrown to an average user.
1. What LOGLEVEL should I specify for this? "Warn"?
2. How can I customise the line that gets added to the logs/error.log file? Can I use somesort of
the CustomLog for this? I need to prefix every line wiht the name of my website!
I would appreciate any help.
Thanks!
Ben