use this:

lg4j.logger.yourpackage.Blah = DEBUG


2009/7/8 Yang Zhang <[email protected]>

> How do I specify a non-root logger in a Java properties file?  I current
> have the root logger showing output at INFO level and above, but I'm
> interested in debugging one particular class, so I'd like to allow
> DEBUG-level output for that class.  (I always use
> Logger.getLogger(Blah.class).)  I couldn't find any examples of this in the
> documentation or on Google.  Thanks in advance.
>  --
> Yang Zhang
> http://www.mit.edu/~y_z/ <http://www.mit.edu/%7Ey_z/>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to