简体   繁体   中英

Eliminating DEPRECATED errors form the error_log in PHP

Is it possible to eliminate DEPRECATED messages from the PHP error_log?

I know I can use

~E_DEPRECATED 

to keep them from the display but is there any way to keep them out of the error_log as well?

This may be a bug: http://bugs.php.net/bug.php?id=48843

The right way to keep that message out of your logs is to replace the deprecated code :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM