where can I download NTEventLogAppender.dll

2005-07-06 Thread Mark
I do not have a copy of Visual Studio, but want to use the NTEventLogAppender class. Where can I find a copy of NTEventLogAppender.dll? ..Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

RE: Clarification & More help required

2005-07-06 Thread Sriram Venkatasubramanian
Hi All, I am also facing similar problem ! Log4j is unable read the env variables. My problem is I cant hard code the path of the log file as C:\XXX\xxLog.log. I have to read the relative path for this purpose . Any idea ? I am using OC4J & log4J 1.2.11 & My log4j.xml is as below. http://jak

Different instances of log4j sharing a log file.

2005-07-06 Thread Yaroslav Chinskiy
Hi, Are there any issue on win OS with older versions of log4j? I am sharing the same log file between different instances of log4j. >From time to time I notice some slowdown. Thank you. Yaroslav Chinskiy (212) 815-6524 www.icap.com *

RE: Clarification

2005-07-06 Thread Balaji Saranathan
Thanks ...that saves my effort on investigating further. -Original Message- From: Mark Womack [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 1:35 PM To: 'Log4J Users List' Subject: RE: Clarification This is bug 9150 in the log4j bug db, and will be fixed in the upcoming 1.2.

RE: Clarification

2005-07-06 Thread Mark Womack
This is bug 9150 in the log4j bug db, and will be fixed in the upcoming 1.2.12 version. I got the fix together over the weekend, but still working on a unit test before checking it into cvs. -Mark > -Original Message- > From: James Stauffer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, Ju

Re: Clarification

2005-07-06 Thread James Stauffer
log4j will create the file but not the directories. (I ended up creating my own appender that creates the directories also). On 7/6/05, Balaji Saranathan <[EMAIL PROTECTED]> wrote: > Can you tell me if log4j creates the log file (if they are not present) > when using the FileAppenders or is it th

RE: Clarification

2005-07-06 Thread Vinodh Srinivasasainagendra
Did u try ${some_property_key} (for example, java.home or user.home system properties) to specify the path in front of the File. Ex: log4j.appender.dest2.File=${java.home}/log4j.log ~vinodh -Original Message- From: Balaji Saranathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2

RE: Clarification

2005-07-06 Thread Bender Heri
Usually I configure by XML file and I am not quite shure, but: > log4j.appender.framework.File=framework.log=./logs/framework.log seems to have one "=" to much. Did it work with your first version "log4j.appender.framework.File=framework.log" ? Heri > -Original Message- > From: Bala

Re: Error using NullAppender in

2005-07-06 Thread James Stauffer
You could send all logs to another system (Database, Chainsaw?, JMX?, etc) and let that system separate the logs by project, log type, etc. On 6/29/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > Well I'm looking at 3 appenders and 3 loggers for each project. I have > roughly 200 projects. I

RE: Clarification

2005-07-06 Thread Balaji Saranathan
But isnt this configuring through the code? I want to configure the FileAppender from the log4j.properties file. -Original Message- From: Vinodh Srinivasasainagendra [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 12:01 PM To: 'Log4J Users List' Subject: RE: Clarification Se

RE: Log4J Help requested

2005-07-06 Thread Bender Heri
see comment inline > -Original Message- > From: Balaji Saranathan [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 06, 2005 5:21 PM > To: 'Log4J Users List'; [EMAIL PROTECTED]; 'Bradley, Todd' > Subject: RE: Log4J Help requested > > > > I was using the getAllAppenders on the logger tha

RE: Clarification

2005-07-06 Thread Vinodh Srinivasasainagendra
See the attached code, // Set FileAppender SimpleLayout layout = new SimpleLayout(); String fileName = new File(backupDir.getParent(),"error.log").getAbsolutePath(); FileAppender appender = new FileAppender(layout, fileName,true); logger.add

RE: Clarification

2005-07-06 Thread Balaji Saranathan
Tx. I tried it. It doesn't work I still get the same error. In the error below, there is a call to setFile with "null" filename. Shdnt it be called with the filename mentioned in the properties file? -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: Clarification

2005-07-06 Thread Schuweiler, Joel J.
If can't find the path, have you tried removed the leading ./? For a path I would do logs/framework.log assuming that it is contained in the same directory that your class is running from. -Original Message- From: Balaji Saranathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 20

Clarification

2005-07-06 Thread Balaji Saranathan
Hi, Can you tell me if log4j creates the log file (if they are not present) when using the FileAppenders or is it the responsibility of the developers to create the log files? I have a FileAppender configured and when I configure the log4j.appender.framework.File=framework.log=./logs/framework.l

RE: Log4J Help requested

2005-07-06 Thread Balaji Saranathan
I was using the getAllAppenders on the logger that was created with classname. It returns an empty enumeration. The Root logger.getAllAppenders lists my appender I added in the configuration. Is it not true that the appenders are inherited from the rootlogger unless explictiyl configured? Thanks

RE: Log4J Help requested

2005-07-06 Thread Balaji Saranathan
HmmI might need some more help. I use Tomcat5.5 and how do I add this statement on the commandline? I have the log4j.properties file and use a setupServlet to load it. The call to PropertyConfigurator.configure works fine. - Bala -Original Message- From: Bradley, Todd [mailto:[EM

RE: Log4J Help requested

2005-07-06 Thread Bradley, Todd
Add a -Dlog4j.debug=true to your java command line to see which properties file log4j is really using. Todd. > -Original Message- > From: Bender Heri [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 06, 2005 8:52 AM > To: Log4J Users List; [EMAIL PROTECTED] > Subject: RE: Log4J Help r

RE: Log4J Help requested

2005-07-06 Thread Bender Heri
Your property file is maybe not in the classpath? Or has not the default name? > -Original Message- > From: Balaji Saranathan [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 06, 2005 4:46 PM > To: log4j-user@logging.apache.org > Subject: Log4J Help requested > > > > Hi, > > I'm new t

Log4J Help requested

2005-07-06 Thread Balaji Saranathan
Hi, I'm new to log4j and I configured my web application to use a RollingFileAppender with these statements in the property file log4j.rootLogger=debug,framework log4j.appender.framework=org.apache.log4j.RollingFileAppender log4j.appender.framework.layout=org.apache.log4j.HTMLLayout log4j.append

Serialization problem?

2005-07-06 Thread Caroline Wood
Hi folks, Can anyone work out what I'm doing wrong? I've written an appender that extends JMS appender, and also a MDB to process the messages. The logging message is a simple data container class called MonitorMessage. However, the data object does not seem to be (de)serializing properl