0

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

error

  • 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
1

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. enter image description here 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
  • I see. Sorry, there's no other solution I can think of at the moment. – Yuliana Nov 2 '16 at 10:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .