I changed it to logger.error, and it worked fine. Now I checked again the configuration and couldn't find what's wrong. May be this ??
logger.setLevel(Level.ALL);

but isn't suppose to log all levels ??
if I am wrong, how do i fix this ??


James Stauffer wrote:

Try changing it to logger.error(msg, exception).  If that works then
you probably have your config setup incorrectly.  I think trace is
between debug and info so you probably need to lower the level.

On 9/16/06, Mansour <[EMAIL PROTECTED]> wrote:

Hi everybody:
I am tring to use  logger.trace(msg, exception) but I am getting
nothing. Nothing is being logged.
I am using in the same way I use logger.info () or logger.debug() . Some
thing like this:

try{
//do somehting
}catch (Exception e) { logger.trace("exception: ",e);}


I couldn't find tutorials or hints on how to start using it.
Any Idea's ??





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to