This should be so simple to accomplish that not being able to do so is driving me crazy!
I'm using ActiveJDBC (which uses slf4j) along logback, and it seems it is IMPOSSIBLE to adjust the log level on ActiveJDBC so it doesn't print a NOTICE to console every time a new connection is opened.
There is no mention about adjusting log level on ActiveJDBC documentation: http://javalite.io/logging
I have tried this way:
import org.slf4j.LoggerFactory;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
Logger root = (Logger) LoggerFactory.getLogger("org.javalite.activejdbc.DB");
root.setLevel(Level.DEBUG);
With no luck, setting the output filter does not work either:
org.javalite.activejdbc.LogFilter.setLogExpression("WARNING");
Has somebody been able to adjust the log level so it does not clutter the output from console?