Hello Craig,

> 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.
Good, best chance to have individual logging for same loggers.
>  
> 
> 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.
So the logging.properties of the third host has been read.

>  
> 
> 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?
> Does anyone have ideas of this?  Is a realm in the host tag required for
> JULI?
No, thats more a problem of the classloader. The logging config is per
Context Classloader. So you can place a logging properties at any place in
the classloader hierarchy.
It seems that you have same the logging.properties in your webapp, but just
changed the entry of the realm.
Does the entry of the realm change the classloader (hierarchy) behaviour?

Please send all your logging.properties and a short comment where they
placed.

Regards
Boris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to