tomcat and log4j version - any dependency issues?

2010-06-01 Thread Johan Martinez
Hi,

I am using Tomcat 5.5.28 with JDK 1.5 (and 1.6 on different machine). Right
now I have log4j 1.2 version, but I would like use log4j 1.3+ now. Are there
any dependency/support issues that I should consider?

--
jM.


RE: tomcat and log4j version - any dependency issues?

2010-06-01 Thread Martin Gainty

i downloaded the latest pom.xml from 
http://svn.apache.org/viewvc/logging/log4j/tags/v1_2_15_rc6/pom.xml?view=co

for log4j plugin and i see 5 dependencies:

 

dependencies


dependency
groupIdant/groupId
artifactIdant-nodeps/artifactId
version1.6.5/version
/dependency

 

dependency
groupIdant-contrib/groupId
artifactIdant-contrib/artifactId
version1.0b2/version
/dependency

 

dependency
groupIdant/groupId
artifactIdant-junit/artifactId
version1.6.5/version
/dependency

 

dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version3.8.1/version
scopetest/scope
/dependency

 

dependency
groupIdsun.jdk/groupId
artifactIdtools/artifactId
version1.4.2/version
scopesystem/scope
systemPath${tools.jar}/systemPath
/dependency


/dependencies

does that help?
Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

 Date: Tue, 1 Jun 2010 16:07:22 -0500
 Subject: tomcat and log4j version - any dependency issues?
 From: jmart...@gmail.com
 To: users@tomcat.apache.org
 
 Hi,
 
 I am using Tomcat 5.5.28 with JDK 1.5 (and 1.6 on different machine). Right
 now I have log4j 1.2 version, but I would like use log4j 1.3+ now. Are there
 any dependency/support issues that I should consider?
 
 --
 jM.
  
_
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2

Re: tomcat and log4j version - any dependency issues?

2010-06-01 Thread Rainer Jung

On 01.06.2010 23:07, Johan Martinez wrote:

Hi,

I am using Tomcat 5.5.28 with JDK 1.5 (and 1.6 on different machine). Right
now I have log4j 1.2 version, but I would like use log4j 1.3+ now. Are there
any dependency/support issues that I should consider?


Citing from the Log4J homepage:

===

Apache log4j has three development branches: a stable branch, 1.2; a 
discontinued branch, 1.3; and an experimental branch, 2.0.


Apache log4j 1.2 releases are widely deployed. Development on the 1.2 
branch is generally limited to bug fixing and minor enhancements.


Apache log4j 1.3 alpha releases are in limited use. Apache log4j 1.3 
added many interesting features, but was compatibility with log4j 1.2 
was problematic. Many features original developed for log4j 1.3 have 
been back-ported as companions for log4j 1.2. No further development is 
anticipated for log4j 1.3.


Apache log4j 2.0 is an experimental development branch for logging 
services designed for Java 5 and later.


===

So I think you should reconsider switching to 1.3. It's a dead end 
street. They recently released 1.2.16.


Regards,

Rainer


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat and log4j version - any dependency issues?

2010-06-01 Thread Johan Martinez
Thanks for sharing this info.

I was considering 1.3 version for better management - purging log files
before certain date, log4j 1.3 provides max. backup index option with
DailyRollingFileAppender. I am also looking at logrotate and cronolog for
this, but not sure if I could use it in conjunction with
DailyRollingFileAppender. Any thoughts?

--
jM.

On Tue, Jun 1, 2010 at 5:01 PM, Rainer Jung rainer.j...@kippdata.de wrote:

 On 01.06.2010 23:07, Johan Martinez wrote:

 Hi,

 I am using Tomcat 5.5.28 with JDK 1.5 (and 1.6 on different machine).
 Right
 now I have log4j 1.2 version, but I would like use log4j 1.3+ now. Are
 there
 any dependency/support issues that I should consider?


 Citing from the Log4J homepage:

 ===

 Apache log4j has three development branches: a stable branch, 1.2; a
 discontinued branch, 1.3; and an experimental branch, 2.0.

 Apache log4j 1.2 releases are widely deployed. Development on the 1.2
 branch is generally limited to bug fixing and minor enhancements.

 Apache log4j 1.3 alpha releases are in limited use. Apache log4j 1.3 added
 many interesting features, but was compatibility with log4j 1.2 was
 problematic. Many features original developed for log4j 1.3 have been
 back-ported as companions for log4j 1.2. No further development is
 anticipated for log4j 1.3.

 Apache log4j 2.0 is an experimental development branch for logging services
 designed for Java 5 and later.

 ===

 So I think you should reconsider switching to 1.3. It's a dead end street.
 They recently released 1.2.16.

 Regards,

 Rainer



 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: tomcat and log4j version - any dependency issues?

2010-06-01 Thread Rainer Jung

On 02.06.2010 00:15, Johan Martinez wrote:

Thanks for sharing this info.

I was considering 1.3 version for better management - purging log files
before certain date, log4j 1.3 provides max. backup index option with
DailyRollingFileAppender. I am also looking at logrotate and cronolog for
this, but not sure if I could use it in conjunction with
DailyRollingFileAppender. Any thoughts?


Have a look at the extras for 1.2. Many of the rolling policy 
additions have been backported to 1.2. I've got no experience on my own 
with those, and since they are not bundled, they might still not be in 
wide use, so use with care:


http://logging.apache.org/log4j/companions/extras/

http://logging.apache.org/log4j/companions/extras/apidocs/index.html

There's not much docs for it around, you can get some things from the 
javadoc, other info from the abandoned 1.3 branch might apply to the extras.


One example for what you are looking for could be 
TimeBasedRollingPolicy. One example for how to use it can be found on


http://wiki.apache.org/logging-log4j/Log4jXmlFormat

Regards,

Rainer

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org