bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22947] New: logging system configured from wrong location


From: pinskia at gcc dot gnu dot org
Subject: [Bug classpath/22947] New: logging system configured from wrong location
Date: 22 Aug 2005 12:49:13 -0000

According to the documentation of java.util.logging.LogManager (whose official 
doc can be found here 
http://developer.classpath.org/doc/java/util/logging/LogManager.html ;) ) the 
configuration should be loaded in this way:



"If the system property java.util.logging.config.file  is not set, however, the 
contents of the URL "{gnu.classpath.home.url}/logging.properties" are passed to 
readConfiguration(InputStream). Here, "{gnu.classpath.home.url}" stands for the 
value of the system property gnu.classpath.home.url"



That means reading of a physical file like 
/usr/share/classpath/logging/logging.properties should happen. 



However currently our logging.properties file is part of the system classpath 
and lies at java/util/logging (e.g. within glibj.zip).



To be correct with the specificatio above the file should be taken out of the 
classpath and installed at ${prefix}/lib/logging.



However I have to admit that this would mean /usr/lib/logging on many systems 
and I am not sure whether this is a suitable place. I suggest 
/usr/lib/classpath/logging instead.
------- Additional Comments From from-classpath at savannah dot gnu dot org  
2005-05-20 00:18 -------
> That means reading of a physical file like

> /usr/share/classpath/logging/logging.properties should happen.

Sorry, this is an error in my description: the path is not correct however, 
that the file should be read from a stand-alone file is.



-- 
           Summary: logging system configured from wrong location
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: from-classpath at savannah dot gnu dot org
                CC: bug-classpath at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22947




reply via email to

[Prev in Thread] Current Thread [Next in Thread]