Remove grizzly2 http exceptions from logs using jersey test

136 Views Asked by At

I am using Jersey test framework and using grizzly2 as servlet container for running the tests. Inside my tested resource I have logger, and for example I am logging when catching exceptions inside my logic(log.error("My Error") ). I can see this output when compiling my application and running tests (mvn clean install - run my tests as well). Can I turn it off some how or prevent from the logs to appear?

1

There are 1 best solutions below

0
On BEST ANSWER

Update the log config file with "turn off ERROR "