Here is what I use:

# allow trace messages through the root category
log4j.rootCategory=TRACE#org.apache.geronimo.kernel.log.XLevel, CONSOLE

# print trace messages to the console
log4j.appender.CONSOLE.Threshold=TRACE#org.apache.geronimo.kernel.log.XL evel


# restrict everything to DEBUG
log4j.logger.org=INFO

# lower interesting stuff to TRACT
log4j.logger.org.apache.geronimo.common.task.URLMonitorTaskTest= TRACE#org.apache.geronimo.kernel.log.XLevel


This should work, but I didn't test it.

-dain

On Tuesday, September 9, 2003, at 06:40 AM, Alan Cabrera wrote:

How do I enable the trace?


-----Original Message----- From: Siva [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 1:13 AM To: [EMAIL PROTECTED] Subject: Re: org.apache.geronimo.common.task.URLMonitorTaskTest FAILED

Alan,
�
��� It runs for me.Do you have the latest copy of the sources?Can you
enable the trace in URLMonitorTask and send us the output?
�
Siva
���

----- Original Message -----
From: Alan Cabrera
To: '[EMAIL PROTECTED]'
Sent: Tuesday, September 09, 2003 9:19 AM
Subject: org.apache.geronimo.common.task.URLMonitorTaskTest FAILED

JD 1.4.2
W2K Advanced Server

Testsuite: org.apache.geronimo.common.task.URLMonitorTaskTest
Tests run: 4, Failures: 1, Errors: 0, Time elapsed: 0.187 sec

Testcase: testConstructorWithNull took 0.062 sec
Testcase: testGetURL took 0.016 sec
Testcase: testAddRemoveListeners took 0.016 sec
Testcase: testEventFiring took 0.046 sec
�FAILED
expected:<1063078511140> but was:<1063078511125>
junit.framework.AssertionFailedError: expected:<1063078511140> but was:<1063078511125>
�at org.apache.geronimo.common.task.URLMonitorTaskTest.testEventFiring(URLM onitorTaskTest.java:164)
�at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
�at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:39)
�at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImpl.java:25)

Testcase: testEventFiring




/************************* * Dain Sundstrom * Partner * Core Developers Network *************************/



Reply via email to