Programmatically create loggers for hibernate, spring ...

Hello again :) Can i programmatically create loggers for spring , hibernate and other frameworks? means something like : logfactory.getlogger("org.springframework"); and then set the apropriate level ? Is this possible? because i tried it but don't really think it works Thanks for help

Why do you have the need?? Is it::: <!-- for debug , developers. --> <logger name="com.google.code" level="ERROR"> <appender-ref ref="APP_ERROR" /> </logger> <logger name="org.springframework" level="ERROR"> <appender-ref ref="APP_ERROR" /> </logger> <logger name="org.apache" level="ERROR"> <appender-ref ref="APP_ERROR" /> </logger> <!-- for debug , developers. end --> 2011/8/31 BAKHTI Mohammed <onlymed@hotmail.com>
Hello again :)
Can i programmatically create loggers for spring , hibernate and other frameworks? means something like :
logfactory.getlogger("org.springframework"); and then set the apropriate level ?
Is this possible? because i tried it but don't really think it works
Thanks for help
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
participants (2)
-
BAKHTI Mohammed
-
zuxiong lin