I think you can set the MaxBackupIndex parameter like this:
log4j.appender.drfa.MaxBackupIndex=7
-Original Message-
From: ying lcs [mailto:[EMAIL PROTECTED]
Sent: Monday, November 27, 2006 10:42 PM
To: Log4J Users List
Subject: Re: File Appender in log4j
Thanks for the advice.
Can
, but the
DllRegisterServer entry point was not found. This file can not be
registered. Again, I tried it in both cases (the NTEventLogAppender.dll is
located in C:\Windows\system32 or C:\WINNT\system32), and none works.
Regards,
Shuh
-Original Message-
From: Shuh Chang [mailto:[EMAIL PROTECTED
Yeah, it looks like that the calls to RegisterEventSource in the
nteventlog.cpp program might be out of sync.
In the Java_org_apache_log4j_nt_NTEventLogAppender_registerEventSource
function (for initial event source registration):
jint handle = (jint)RegisterEventSource(nserver, nsource);
In
I need to make a correction: I just found out that the
NTEventLogAppender.dll *does* create the default Log4j entry (or any other
source specified in the log4j.properties) in the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\So
urces registry. That's my mistake. Sorry
Hi,
I am using logging-log4j-1.2.14 to log data with great success for various
log4j appenders:
1. RollingFileAppender for local lolg file.
2. SyslogAppender for remote syslog on Linux platform.
My Windows platforms tested include both Windows Server 2003 and Windows XP.
However, for the