Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Wiki MarkupExample log messages:

\[02-Jun-2010 2021 14:29:51\] PHP Deprecated: Function split() is deprecated in C:\\Program Files\\uptime software\\uptime\\GUI\\classes\\protocol\\ProtocolParser.inc on line 30 \

[02-Jun-2010 2021 14:29:51\] PHP Deprecated: Function split() is deprecated in C:\\Program Files\\uptime software\\uptime\\GUI\\classes\\protocol\\ProtocolParser.inc on line 30 \

[02-Jun-2010 2021 14:29:51\] PHP Deprecated: Function split() is deprecated in C:\\Program Files\\uptime software\\uptime\\GUI\\classes\\protocol\\ProtocolParser.inc on line 30

These messages have no functional impact on Uptime Infrastructure Monitor operation.  

To suppress these deprecated entries from the php log, make the following change: Edit the _log

  1. Edit the //apache/php/php.ini

...

  1. file.

...

  1. Change

...

  1. the

...

  1. following

...

  1. line

...

  1. :
    from:

...


  1. error_reporting

...

  1. =

...

  1. E_ALL

...

  1. &

...

  1. ~E_NOTICE

...

  1. &

...

  1. ~E_WARNING

...


  1. to:

...


  1. error_reporting

...

  1. =

...

  1. E_ALL

...

  1. &

...

  1. ~E_NOTICE

...

  1. &

...

  1. ~E_WARNING

...

  1. &

...

  1. ~E_DEPRECATED.

...

  1. Save

...

  1. the

...

  1. changes

...

  1. to

...

  1. the

...

  1. php.ini

...

  1. file.

...

  1. Restart the Uptime Infrastructure Monitor httpd / web server service to apply the change.  After the web server has restarted, tail the php log to verify the change.