Bug 38415 - JULI logs to catalina.date.log if no <realm> in <host>
Summary: JULI logs to catalina.date.log if no <realm> in <host>
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: Unknown
Hardware: All Windows 2000
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-27 12:38 UTC by Craig Raymond
Modified: 2006-01-30 06:25 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Raymond 2006-01-27 12:38:00 UTC
First, if I've miscategorized this bug, please accept my apologies.

With a vanilla logging.properties in ../WEB-INF/classes and no <realm> specified
in server.xml, and the <realm> specified in ROOT.xml - the logging file is
created as zero length, and any messages are logged in catalina.data.log.  Move
the <realm> tag to server.xml and logging occurs as expected.

There is a message thread on users@tomcat.apache.org with the following subject
concerning this issue:

"tomcat 5.5.15 - does JULI required a host tag defined realm?"
Comment 1 Remy Maucherat 2006-01-27 14:57:03 UTC
Most likely fixed.
Comment 2 Craig Raymond 2006-01-30 15:25:32 UTC
Remy,
I have downloaded and built to the latest nightly build, and the logging is
working correctly.

Thanks, Craig.