<snip>
I've been told at work that we cannot use it because it isn't
"J2EE-compliant"... I'm awaiting clarification on what that actually 
means in this context
</snip>

Probably because the configureAndWatch() method in
o.a.l.x.DOMConfigurator will cause a 'file watcher' thread to be
spawned. The fact that the J2EE spec regards thread management as the
responsibility of the container not the application might lead some
people to decry the use of log4J in a J2EE environment.  Of course, you
don't have to use configureAndWatch() method, in fact the
DOMConfigurator and all its methods will be deprecated in log4j 1.3 so
any one using configureAndWatch() might have to find another approach to
dynamic reconfiguration.

Note: I'm not presenting this as my opinion on whether Log4J is J2EE
compliant.

-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED] 
Sent: 31 January 2005 07:01
To: Struts Users Mailing List
Subject: Re: [OT] Logging Question


Commons Logging over Log4J.

<snip>
I've been told at work that we cannot use it because it isn't 
"J2EE-compliant"... I'm awaiting clarification on what that actually 
means in this context
</snip>

Sounds like someone may have got incorrect information?
Ive not heard of anything in log4j that makes it unsuitable for use in a

j2ee environment (otoh Ive never peered to deeply into the details 
either). Its use seems so ubiquitious that its almost a defacto 
standard, and Ive not had any issues with it.


Frank W. Zammetti wrote:

> Quick question... I wanted to get answers from real-world Struts
developers, so I hope no one minds the OT post...
> 
> Is anyone using Commons Logging in their webapps, and if so, what
logging toolkit are you using under it?  I'm guessing Log4J is the most
common answer, but I'd like to hear what you all are doing.  Note that
I'm only interested in those using Commons Logging and their answers,
for the sake of the reason I'm asking in the first place. :)
> 
> Also, for anyone that is using Log4J... I've been told at work that we
cannot use it because it isn't "J2EE-compliant"... I'm awaiting
clarification on what that actually means in this context... It sounds
nonsensical to me, but... Does anyone know of any concerns that might
make sense in the context of that statement?
> 
> Thanks all!
> 
> Frank W. Zammetti
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] 
--------------------------------------------------------
 
If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail.     http://www.ml.com/email_terms/ 
--------------------------------------------------------
 

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

Reply via email to