Already looked at the LoggerFactory?
Heri 

-----Ursprüngliche Nachricht-----
Von: Yair Ogen [mailto:yairo...@gmail.com] 
Gesendet: Donnerstag, 2. April 2009 10:13
An: log4j-user@logging.apache.org
Betreff: Configure custom logger from file

Hi,

I need to configure a custom Legger that extends then log4j Logger.

I want users to code: Logger.getLogger, and get the custom logger.

I know how to do this in code, but this will require every developer to call 
this code.

I want to find a way to this via the log4.properties file so if all developers 
use the same file their code is clean and will use the custom logger in a 
transparent way.

Any ideas?

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to