[ajug-members] log4j problem

Bill Siggelkow bsiggelkow at mac.com
Tue Jan 2 18:41:42 EST 2007


(2 minute answer)

The following will set up logging for your classes

<logger name="com.mycompany.mypackage">
   <level value="info"/>
</logger>

For further details see http://wiki.apache.org/logging-log4j/ 
Log4jXmlFormat

Bill Siggelkow
bsiggelkow at mac.com
AIM: siggelkowb
Home: 770-457-8854
Mobile: 770-354-2584


On Jan 2, 2007, at 3:30 PM, Barnes, Mike wrote:

> I need to be able to only log messages from my classes and not  
> those from other packages. I can not seem to find any information  
> as to how to do this. Also, I am using a log4j.xml file for  
> configuration. Could someone point me in the right direction.
>
>
>
>
>
> Thanks
>
> Mike Barnes
>
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20070102/6bb0dcba/attachment.html 


More information about the ajug-members mailing list