logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36342] - Log4j Initilization problem
Date Sun, 12 Nov 2006 18:48:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36342>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36342


hoju@visi.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From hoju@visi.com  2006-11-12 10:48 -------
When Log4j is shared across applications, all application will use the same
logger repository unless a repository selector is used.  Ideally, the repository
selector would be set by the appserver upon server startup, but can be set by
the first app that gets configured.  The selector can/should only be set once,
and is protected by a guard object after initially set.  There is no selector
implementation that ships with Log4j-1.2.xx, but the ContextJNDISelector
implementation ships with Log4j-1.3alpha.  A search of the web should come up
with at least a few implementations for Log4j-1.2.xx.

As far as removing the appenders go, that probably makes sense, since if the new
configuration doesn't use the same appenders as the old configuration, one
wouldn't want to leave those non-utilized resources active.

In any case, it is well known that reconfiguring log4j multiple times in a
shared logger repository  (the default one) will affect all apps using that
logger repository.  This should not have been reported as a bug, but asked as a
question on the user list.  BTW, a search of the user list should provide more
than enough information to answer the question.

Resolving as WONTFIX.

Jake

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message