The Log4j javadocs state that calling the configure method will not effect
the current configuration (to do that you should call the resetConfiguration
method first).
----- Original Message -----
From: "Anders Engstr�m" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 14, 2003 4:49 PM
Subject: Re: [JBoss-user] JBoss & Log4J
On Fri, Feb 14, 2003 at 10:17:22AM +0200, Alexopoulos Dimitris
([EMAIL PROTECTED]) wrote:
> Hello All!
>
> Couldn't you create a class that instantiates a Log4j Logger of your own?
> This way you could use log4j's method
>
> PropertyConfigurator.configure("pathToYourLog4jConfigFile");
>
> and read always your configuration. Is it necessary to use the JBoss
logger?
> Excuse me if I have misunderstood something... ;-)
>
That would result in your configuration (pathToYourLog4jConfigFile)
replacing the JBoss one - and every other previously configured loggers
initiated from other deployed applications.
//Anders
--
|===================================================|
| Anders Engstr�m |
| [EMAIL PROTECTED]
|
| http://www.gnejs.net |
| PGP-Key: http://dmzc.gnejs.net/public_key.asc |
|===================================================|
| Your mind is like an umbrella. |
| It doesn't work unless you open it. |
| /Frank Zappa |
|===================================================|
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user