Or if you are lazy like me and rely on copy and paste heavily, you can use: private final Category log = Category.getInstance(getClass().getName()); ----- Original Message ----- From: "David Jencks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 22, 2001 3:10 PM Subject: Re: [JBoss-user] log4j system.out category > include > > import org.apache.log4j.Category; > > > private Category log = Category.getInstance(MyClass.class); > //Or use a string, maybe for jsps, haven't tried > > > to log... > > log.info("my message"); _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
- [JBoss-user] log4j system.out category Ferguson, Doug
- Re: [JBoss-user] log4j system.out category Scott M Stark
- Re: [JBoss-user] log4j system.out category Guy Rouillier
- RE: [JBoss-user] log4j system.out category Ferguson, Doug
- Re: [JBoss-user] log4j system.out category David Jencks
- Re: [JBoss-user] log4j system.out category Guy Rouillier
- Re: [JBoss-user] log4j system.out category Nicolai P Guba
- RE: [JBoss-user] log4j system.out category Ferguson, Doug
- Re: [JBoss-user] log4j system.out category Scott M Stark
- RE: [JBoss-user] log4j system.out category Ferguson, Doug
- Re: [JBoss-user] log4j system.out category Scott M Stark
- Re: [JBoss-user] log4j system.out category Guy Rouillier
- Re: [JBoss-user] log4j system.out category Scott M Stark
- Re: [JBoss-user] log4j system.out category Guy Rouillier