Hello Developers!

(2 Peter: I'm writing two different answers to your mail: to dev@ and to users@
This one is to dev@)

I.

PS> ... log4j configuration ...

PS> Doing only setLoggerManagerConfiguration() doesn't do the trick.
PS> Fortress continues to use logkit

Yes, I see ContextManager creates a LogKitLoggerManager.

How about the following idea: let
ContextManager.initializeLoggerManager deduct from the configuration
if it should create a LogKitLoggerManager or Log4JConfLoggerManager?

How should it do it?

Idea 1: Look at name of the root conf element. If it is
        log4j:configuration or not

Idea 2: Look at some attribute on the root configuration element.

How shall we implement this?

II.

PS> If I do it like this, will my log
PS> files configured in the xlog file be created under the fortress's work 
PS> directory configured using "FortressConfig.setWorkDirectory()" ?

While we implement I) should we think about something like this?
Like fetching workDirectory and putting it somewhere into Log4J
configuration before passing it to Log4JLoggerManager.configure
if the directory has not been specified there (in the existing
configuration) already?
<disclaimer>I do not know Log4J configuration format</disclaimer>

- Anton

P.S. I do not think _this_ should block Fortress release. To me it
does not make much difference pre- or post- release. On the other
hand we have Peter Severin to test our solution immediately if we
implement it right away.


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

Reply via email to