I am in the middle of converting a web server from Tomcat 5.0.25 to
5.5.15, and I am using JULI.

 

In the server.xml are three <host>s defined, two of which have a realm
defined in the host tag.  The third has the realm defined in its
ROOT.xml context tag.  Each has a logging.properties file in its
WEB-INF/classes directory.

 

The third host (without the realm defined in server.xml) does not log to
the file defined in its logging.properties file, though the file is
created with a length of zero bytes.  The logging information is output
in the cataline.date.log file.

 

If I move the realm definition from the ROOT.xml to server.xml, the
logging occurs as expected (e.g. it is output to the file defined in
logging.properties).  It appears as if JULI requires a host defined
realm?

 

I hope I've explained the situation adequately.

 

Does anyone have ideas of this?  Is a realm in the host tag required for
JULI?

 

Thanks in advance, Craig.

 

Reply via email to