Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Filtering of console output in Eclipse

is it possible to filter the logging in the console output in eclipse. I would like the filter out log4j debugging statement from all output. tks.

like image 950
Derwen Avatar asked Aug 20 '11 16:08

Derwen


People also ask

How do I get console options in Eclipse?

A fully working command-line Terminal inside Eclipse. Just press Ctrl+Alt+T to open a local command prompt (Terminal).


2 Answers

Grep Console Plugin can filter eclipse console output to a second view http://marian.schedenig.name/projects/grep-console/

like image 186
Frank M. Avatar answered Oct 19 '22 19:10

Frank M.


If you're looking to filter out log4j output, then you should put a log4j.properties file in your classpath and change the root logger to only log at the info level.

This URL will provide much more info on the subject: http://logging.apache.org/log4j/1.2/manual.html

like image 27
theotherian Avatar answered Oct 19 '22 20:10

theotherian