Re: jaxp.jar and parser.jar?

2005-09-15 Thread Curt Arnold
On Sep 15, 2005, at 4:35 PM, [EMAIL PROTECTED] wrote: I made some minor modifications to the source code and I'm trying to build a new jar file. I'm getting this error: javac: target release 1.1 conflicts with default source release 1.5 Which I assume means I need to install jdk1.1 (fun).

RE: Timing difference in log4j

2005-09-15 Thread Mangano, Jonathan
I am still unsure of your setup and what is actually performing the logging and what are the timezone settings on the machine(s) holding the log files. Log4j stores the time UTC in the event so it is timezone independent so it is a matter of how it is displayed. The following link courtesy of a qui

RE: Missing log file entries

2005-09-15 Thread Mangano, Jonathan
Network latency is not an issue here as I am writing to the local filesystem. My concern with dropping the file size is that in order to maintain the net amount of logging (currently 500mb) I will need to increase the max backup index. So if I drop the file size to 1 mb I will need to increase the

RE: jaxp.jar and parser.jar?

2005-09-15 Thread Harp, George
cool and gl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 5:02 PM To: Log4J Users List Subject: Re: jaxp.jar and parser.jar? Nope! =) Ignorant as I am, I figured that it just would. I was seeing some error messages in eclipse

Re: jaxp.jar and parser.jar?

2005-09-15 Thread lawrence
Nope! =) Ignorant as I am, I figured that it just would. I was seeing some error messages in eclipse (the IDE I used), but I thought it was because I forgot to add a jar to my class path or something. The change I made to DailyRollingFileAppender was really small so I figured I would just m

RE: jaxp.jar and parser.jar?

2005-09-15 Thread Harp, George
cool I wanted to make sure I wasn't messing you up. So when you downloaded the source did you try to get it to compile before you made any changes? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 4:56 PM To: Log4J Users List Subje

Re: jaxp.jar and parser.jar?

2005-09-15 Thread lawrence
I downloaded the source for version 1.2.11, but there is a small change to the source that I needed to make (DailyRollingFileAppender's rollOver() method), and now I want to build a jar to link into my project. -Lawrence On Thu, Sep 15, 2005 at 04:53:18PM -0500, Harp, George wrote: > it looks l

RE: jaxp.jar and parser.jar?

2005-09-15 Thread Harp, George
it looks like you are running this from downloaded log4j source? IS it the latest? Have you tried using latest log4j jar instead of compiling against the source? (ie download latest jar and link it into your project). or is your goal to compile log4j latest and greatest? -Original Message-

Re: jaxp.jar and parser.jar?

2005-09-15 Thread lawrence
Ok, I changed target to 1.5, and all is well until it gets to: build.jmx: [javac] Compiling 7 source files to /home/lawrence/eclipse/workspace/log4j/dist/classes [javac] /home/lawrence/eclipse/workspace/log4j/src/java/org/apache/log4j/jmx/Agent.java:22: package com.sun.jdmk.comm does no

RE: jaxp.jar and parser.jar?

2005-09-15 Thread Harp, George
if you take out target="1.1 you should be ok. If you want top use target= try target="1.5" -- but better to read ant doc on javac -- ant has great reference material so it will be fast -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005

Re: jaxp.jar and parser.jar?

2005-09-15 Thread lawrence
Should I change target="1.1" to target="1.5"? -Lawrence On Thu, Sep 15, 2005 at 04:41:58PM -0500, Harp, George wrote: > can you cut and paste the target in your ant file that compiles it? > > -Original Message- > From: [EMAIL PROTE

RE: jaxp.jar and parser.jar?

2005-09-15 Thread Harp, George
can you cut and paste the target in your ant file that compiles it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 4:41 PM To: Log4J Users List Subject: Re: jaxp.jar and parser.jar? I am attempting to make the jar file with ant. I

Re: jaxp.jar and parser.jar?

2005-09-15 Thread lawrence
I am attempting to make the jar file with ant. I only have jdk1.5 installed at this time. -Lawrence On Thu, Sep 15, 2005 at 04:38:58PM -0500, Harp, George wrote: > you are getting conflicts. javax.jms refers to JMS java message service ie > EJB. > > As far as target release ... How are you nak

RE: jaxp.jar and parser.jar?

2005-09-15 Thread Harp, George
you are getting conflicts. javax.jms refers to JMS java message service ie EJB. As far as target release ... How are you naking the jar file? ant file? IDE? Maven? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 4:35 PM To: Log4J U

Re: jaxp.jar and parser.jar?

2005-09-15 Thread lawrence
I made some minor modifications to the source code and I'm trying to build a new jar file. I'm getting this error: javac: target release 1.1 conflicts with default source release 1.5 Which I assume means I need to install jdk1.1 (fun). However, I am also getting some other compile errors (in

RE: jaxp.jar and parser.jar?

2005-09-15 Thread Harp, George
did you check inside the jars see if there is an apache package? Do you just want the log4j jar file? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 4:31 PM To: log4j-user@logging.apache.org Subject: jaxp.jar and parser.jar? Accor

jaxp.jar and parser.jar?

2005-09-15 Thread lawrence
According to the INSTALL notes: "Log4j is shipped with jaxp.jar and parser.jar files under the build/lib/ directory." however build/lib/ is no where to be found, and I have no clue how to get these jar files. Thanks! -Lawrence

Re: DOMConfigurator configure methods do not report failure

2005-09-15 Thread Curt Arnold
On Sep 14, 2005, at 7:15 PM, Charles Tuckey wrote: Hi, We have a standalone application where the user will be responsible for modifying the log4j XML logging properties file as they require and/ or wish. So, this means that it is likely they will create invalid XML at some point. My pro

RE: Missing log file entries

2005-09-15 Thread Karr, David
It would be impossible to recommend a "safe" or "comfortable" file size that would avoid this problem, assuming that's the problem. If this is what's happening, it's happening because of network latency, which will vary depending on your network environment. Perhaps testing with 1mb or less, just

RE: Configuring log4j hierarchially, on-the-fly

2005-09-15 Thread DeSantis, MJ Mark @ IS (7179)
Hey Chris, I'm kinda new to log4j and this users mailing list so pardon me if I've misunderstood your problems or if attachments aren't allowed. Anyway, the code provided is an experiement that I tried once which might answer your questions: (i.e.)--> But what I woul

Re: limitations of NDC

2005-09-15 Thread Hein Meling
Hi, Not sure I fully grasp your scenario, but it sort of looks like a problem I had with a signature change with MDC in log4j v1.3alpha. Maybe you could add a comment to the bug report: http://issues.apache.org/bugzilla/show_bug.cgi?id=32752 I expect that the above bug will be fixed before 1

Configuring log4j hierarchially, on-the-fly

2005-09-15 Thread Chris Berry
I apologize if I have posed this twice. I do not see my post in teh archives, nor did I recieve a copy (although that could be a gmail thing) Greetings, I'm pretty certain that I know that answer to my question before I ask (It's not possible ;-) -- but I'll ask anyway, just in case I'm missing so

RE: Timing difference in log4j

2005-09-15 Thread sslSuresh Appala
Hi My component configurations are as follows. log4j.appender.A-PUB=org.apache.log4j.RollingFileAppender log4j.appender.A-PUB.layout=org.apache.log4j.PatternLayout log4j.appender.A-PUB.layout.ConversionPattern=%dGMT %-5p %m%n My component is used by many applications. It is giving correct time f

RE: Timing difference in log4j

2005-09-15 Thread Mangano, Jonathan
I am going to assume from your post that there is an 8 hour timezone difference between yourself and your server and you are using a program like chainsaw to view the log4j files. If you are viewing weblogic server files they probably contain a date time in the format of /MM/dd hh:mm:ss but the

Log4j performance considerations

2005-09-15 Thread firas mualla
I have a large J2EE web application . From performance(speed & memory space) point of view what is the best scenario to use ? 1)Use one logger for each class ( this is a common practice but doon't you think that it is heap-consuming ). 2)Use one logger instance at

RE: Timing difference in log4j

2005-09-15 Thread sslSuresh Appala
Hi Can any body help me why my application logs are lacking 8 hrs time difference compare to my weblogic server logs?? Thanks Suresh -Original Message- From: sslSuresh Appala [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 9:41 AM To: Log4J Users List Subject: Timing differ