i get output on the console with this.Iam guessing the framework came with Hibernate that i put in my project.
However how would i setup the logger levels and change the appender.
thanks for any hints
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 32769
posted
0
You can use different levels by calling other methods of Log. There's probably warn, error, fatal, debug, and maybe others (I don't have the docs in front of me, so I could have the names wrong). Consult the javadocs on which levels are available.
As to different appenders, I don't think Commons Logging supports this by itself. It is just a thin wrapper around various logging APIs. Have a look at Jakarta log4j -the standard logging API-, which works with Commons Logging and does support any number of appenders.