I don't understand why you want to replace the dot with the underscore.

Are you trying to separate your logs based on the type of program?

On 6/27/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote:
> I would do something like
> 
> static Logger logger = Logger.getLogger("joel.SecondLogger");
> 
> However if I want to do this it appears I need to make a custom filter and 
> rename it to joel_SecondLogger (_ could be any char but .). This also leaves 
> me with having to modify the log4j jar's that come with for ex. Jboss.
> 
> At this point it might be best to just do
> 
> static Logger logger = Logger.getLogger("SecondLogger.joel");
> 
> -----Original Message-----
> From: James Stauffer [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 27, 2005 1:59 PM
> To: Log4J Users List
> Subject: Re: Filter based on category?
> 
> Does that mean that you would have a logger named something like
> edu.mayo.package.myClass.WebApps?
> 
> Is there a reason that you can't name it WebApps.edu.mayo.package.myClass?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

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

Reply via email to