简体   繁体   中英

loggly - how to exclude particular lines entry in loggly

I have configured PHP log file to loggly. I can find there are too many entries for PHP notice ie 3 out 4 is this php notice.

How can I exclude that particular log entries PHP Notice: in loggly? Alternative, can I exclude only php notice entries from php.ini file?

You'll want to exclude notice messages in your PHP configuration.

error_reporting(E_ALL & ~E_NOTICE);

Read more here http://php.net/manual/en/errorfunc.configuration.php

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