Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Filter out console messages in Chrome Dev Tools

I have a list of 4 console log messages that appear every 2 seconds in my Dev Tools console. I'd like to filter them out but using the filtering DSL that I use for the Network tab doesn't seem to work

My messages are:

[service]: failed to connect to service

OPTIONS http://127.0.0.1:8888/service net::ERR_CONNECTION_REFUSED

What type of filter should I use to make them disappear??? I tried using rexeg, something like [^service] but it didn't seem to work...

like image 879
PentaKon Avatar asked Mar 07 '23 23:03

PentaKon


1 Answers

With the latest version of Chrome (^62) it finally seems to work.

I can use -[service] and it properly filters out the messages.

like image 138
PentaKon Avatar answered Apr 06 '23 05:04

PentaKon