Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

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...

As I said this works in the Network tab but it doesn't seem to work on the Console tab filter input... PentaKon Sep 25, 2017 at 11:07 Interesting solution but in the age of single js files this will also filter out everything. PentaKon Sep 25, 2017 at 11:05 @Konstantine Hmmm... That's interesting because usually for me, it only filters out those particular messages so they don't clutter up my console. I am assuming that is what you are attempting to do? dericcain Sep 25, 2017 at 11:09 Yes but I have an all-in-one app.js file so I can't possible filter out every log that it produces PentaKon Sep 25, 2017 at 11:31 +1 is there a way to filter out only one message yet? There's a new chrome version every week at the moment so maybe I missed it James Klein Oct 20, 2017 at 19:33

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .