I've solved the problem already.
Thanks anyway,
Paolo.
On 11/21/06, James Stauffer <[EMAIL PROTECTED]> wrote:
Run your program with -Dlog4j.debug and it will print output about how
it is configured. How are you configuring it?
On 11/21/06, Paolo Bacci <[EMAIL PROTECTED]> wrote:
> Hi ppl,
>
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
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 t
Sorry, I'm on the road at the moment and don't have access to my
Windows development resources. As far as I can tell from your
description the appender is working as expected. It does log the
message to the EventLog, it just has never implemented the code to
register a corresponding messa
On Nov 22, 2006, at 3:24 AM, Stefano Nichele wrote:
Hi All,
I don't know if this is the right list, maybe not and I apologize
if this is not the right one. BTW, I would like to know how DEBUG
and TRACE level are usually handled.
I mean, when a log record should be DEBUG and when that should
Other than the four "solutions" I tried, I forgot to mention the fifth one
that I also did:
5. Use the regsvr32 to register NTEventLogAppender.dll:
I used the regsvr32 command to register the NTEventLogAppender.dll file, but
got the pop-up error message: "NTEventLogAppender.dll was loaded, but the
Curt Arnold apache.org> writes:
> On Nov 21, 2006, at 4:21 PM, ying lcs wrote:
>
> > Hi,
> >
> > Can you please tell me how can I configure file appender so that it
> > writes to 1 log file per data and have the old one stays?
> >
> > Thank you.
>
> I guessing that you meant "1 log file per DAY
Hi All,
I don't know if this is the right list, maybe not and I apologize if
this is not the right one. BTW, I would like to know how DEBUG and TRACE
level are usually handled.
I mean, when a log record should be DEBUG and when that should be TRACE ?
I'm working on a web application and the ide