It's nothing you have to worry about, but you need to edit your php.ini
file and change the error reporting settings. Find the error_reporting
directives (there will be several, all but one commented out) and
uncomment the one that looks like:

  error_reporting  =  E_ALL & ~E_NOTICE & ~E_WARNING

For production use, you want to use logging (which you're doing) and
only report the parsing and fatal errors. But you might also want to go
through the logs you have now and find the warnings and fix them, just
for good coding practice. You might also want to set the logging to go
to a file that is not your server log file. It'll make it easier to
manage.

..michael..

On Mon, 2002-06-17 at 06:46, andy wrote:
> Hi there,
> 
> my site is online now for only two weeks and I do have a 250 MB apache error
> log file!
> 
> The main entries look like this:
> [Mon Jun 17 15:36:25 2002] [error] PHP Notice:  Use of undefined constant
> level - assumed 'level' in /xx on line 77
> [Mon Jun 17 15:36:25 2002] [error] PHP Notice:  Undefined variable:  default
> in /xx on line 80
> 
> Is this something I have to worry about? I hope that I do not have to change
> all my lines, maybe it would be enough to change the php.ini error level. If
> so, can anybody please give me a hint on what to change there.
> 
> Thanx for any help,
> 
> Andy
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to