Fwd: How to set category, Event and User in Windows Event Viewer using NTEventLog

2006-06-28 Thread venkatlakshmi
Hi everyone, Could you please help me to resolve this issue? Note: forwarded message attached. With regards, Venkatlakshmi __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.co

Re: Appenders

2006-06-28 Thread James Stauffer
It seems most people write a cron job or scheduled task to delete the unwanted logs. On 6/28/06, Andrews, Trent - 43 <[EMAIL PROTECTED]> wrote: I am looking for an appender that is a combination of the RollingFileAppender and the DailyRollingFileAppender, so that logs roll every day, but it only

Re: Same configuration file for application running in different JVMs

2006-06-28 Thread Javier Gonzalez
On 6/28/06, Pavan Sara (CONS), IT <[EMAIL PROTECTED]> wrote: Thank you very much! I'll try. What about the second situation I described? 1) A single application 2) Two appenders writing on the same file (but with different layout and level). Is it not an acceptable configuration? According to

Appenders

2006-06-28 Thread Andrews, Trent - 43
I am looking for an appender that is a combination of the RollingFileAppender and the DailyRollingFileAppender, so that logs roll every day, but it only keeps that last X logs. Has anyone written one of these? Trent Andrews Programmer/Analyst IT Division of Rain & Hail L.L.C. 515-559-1290 Fax:

RE: Same configuration file for application running in different JVMs

2006-06-28 Thread Pavan Sara (CONS), IT
Thank you very much! I'll try. What about the second situation I described? 1) A single application 2) Two appenders writing on the same file (but with different layout and level). Is it not an acceptable configuration? S. === Sara Pavan Software Developer ON

Re: Same configuration file for application running in different JVMs

2006-06-28 Thread James Stauffer
You shouldn't have two JVM's writing to the same file. If you want logs from 2 JVMs to go to the same file you can have them send out the logs on a SocketAppender and have a ServerSocket(name?) receive them and write them to the file. On 6/28/06, Pavan Sara (CONS), IT <[EMAIL PROTECTED]> wrote:

RE: Same configuration file for application running in different JVMs

2006-06-28 Thread Bender Heri
Imagine: Two processes own a file handle to the same file. I wonder that not already the concurrent writing gives problems. But if one process wants to rename the file, this can't become good in each case. (this is a OS and Filesystem issue and not a Log4j issue). If you want two JVM writing to

Same configuration file for application running in different JVMs

2006-06-28 Thread Pavan Sara (CONS), IT
Hi all, I'm using Log4j (log4j-1.2.9.jar) for two applications (two JVMs) which use the same configuration file and write onto the same log files. Traces seem correct, but the RollingFileAppender doesn't work. There's no backup file but the log is reset when max size is reached. I've recreated t

RE: [SPAM (Bayesain Analysis)] - RE: Logfiles sometimes overwritten at server restart - Bayesian Filter detected spam

2006-06-28 Thread Bender Heri
The problem is not that it does not roll over at midnight (this works perfectly) but that the log file from the very same day is overwritten when restarting the application. Heri > -Original Message- > From: Lewis, Cory (Genworth) [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 28, 200

RE: Logfiles sometimes overwritten at server restart

2006-06-28 Thread Lewis, Cory \(Genworth\)
> > Hi all > > I use log4j 1.2.8 in a server environement with > DailyRollingFileAppenders. Although the property Append is > set to true, the logfiles are sometimes overwritten on > restart of the server application. I cannot reproduce this > problem, it just happens occasionally. > Somebo

Logfiles sometimes overwritten at server restart

2006-06-28 Thread Bender Heri
Hi all I use log4j 1.2.8 in a server environement with DailyRollingFileAppenders. Although the property Append is set to true, the logfiles are sometimes overwritten on restart of the server application. I cannot reproduce this problem, it just happens occasionally. Here the excerpt of my conf

How to set category, Event and User in Windows Event Viewer using NTEventLog

2006-06-28 Thread venkatlakshmi
Dear all, I used NTEventLog from jakarta-log4j-1.2.8 to create error logs in the Event Viewer of Windows 2000. But when I insert a new record in the Event Viewer, I am not able to explicitly set the Category, Event and User Columns of the Event viewer. Infact I am able to set the rest of the colum

log4j logs on browser window

2006-06-28 Thread Raghuveer
What changes i need to do to view logs on browser window. --- log4j.logger.com.test.xyz=debug, xyz log4j.appender.xyz = org.apache.log4j.RollingFileAppender log4j.appender.xyz.File=\\xyz\\xyz.log log4j.appender.xyz.MaxFileSize=5000KB log4j.appender.xyz.MaxBa