Is there a way to filter the console by multiple criteria?
I'd like to display only warnings and errors from the PHP log file. The following searches for the string error warning
which doesn't exist
-
The Console app has limited functionality when analysing text log files; it's built for filtering output from macOS's unified logging system. You could try an alternative log analysis tool like lnav — lnav.org – wjv Apr 20 '17 at 12:52
When you open Console, you automatically enter "All messages" section, but you can try switching to Errors and Faults filter which is already created there.
It will give you additional search options the next time you try to filter messages, just click on a search bar and choose what type of messages you want to view.
Hope it'll help.
-
It appears this only works with the device log, which doesn't record the Apache/PHP errors. I moved my PHP log into the /Library/Logs folder that's listed in the Reports column. All Messages and Errors & Faults becomes grayed out. – thebarless Nov 1 '16 at 21:35
-