tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49509] New: JULI does not read logging config from Java home dir
Date Sun, 27 Jun 2010 17:13:04 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49509

           Summary: JULI does not read logging config from Java home dir
           Product: Tomcat 5
           Version: 5.5.23
          Platform: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unknown
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jsb_apache@360works.com


Changes that I am making to /Library/Java/Home/lib/logging.properties (
/Library/Java/Home is always the Java home directory on OS X ) are not having
any effect on logging.

It works correctly if I take the logging.properties file from that directory
and copy it into the compiled classes directory. This gives me the impression
that JULI is only reading the config file from the classloader, and not from
the Java home directory as documented.

The Tomcat docs at http://tomcat.apache.org/tomcat-5.5-doc/logging.html state:

logging can be configured at the following layers: In the JDK's
logging.properties file. Check your JAVA_HOME environment setting to see which
JDK Tomcat is using (or maybe JRE 5.0 as Tomcat can now run on a JRE from
version 5.5). The file will be in $JAVA_HOME/jre/lib. Alternately, it can also
use a global configuration file located elsewhere by using the system property
java.util.logging.config.file, or programmatic configuration using
java.util.logging.config.class.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message