tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brennon Obst" <d4rk_5tro...@hotmail.com>
Subject Re: Containers to expose LogFactory
Date Tue, 08 Feb 2005 03:38:36 GMT
HELP!

I cant get off this damn list when I email 
tomcat-dev-unsubscribe@jakarta.apache.org as instructed. I tried blank 
subject line and everything. ARR!

someone block me.

/b


----- Original Message ----- 
From: "Roytman, Alex" <Roytmana@peacetech.com>
To: <tomcat-dev@jakarta.apache.org>
Sent: Monday, February 07, 2005 7:18 PM
Subject: Containers to expose LogFactory


Dear tomcat developers,

I think it might be very beneficial if container exposed log factory e.g
public Log getLog(String name) so all classes using context logger can
get their own named loggers rather then sharing context's single one. As
it stands now, for those classes there is no way to set logging level
independently. If those classes created their own named loggers from
context log factory they can be configured independently.

If we do not use context logger (just typical commons logging pattern)
it is not possible to predict where logging output will go as it depends
very much on which class loader loaded this class. For example we have
many extensions to tomcat which are loaded by server class loader on per
context basis. We would love to be able to channel all their output to
their respective context's log file rather the the global one but retain
ability to have separate channels (loggers) for different components

I would appreciate any suggestions

Thank you

Alex

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message