BZ #4: Logging messages with level SEVERE do not get logged by default

Status fields:

creation_ts:2005-07-19 15:46
component:unspecified
version:unspecified
rep_platform:i386
op_sys:Linux
bug_status:RESOLVED
resolution:FIXED
reporter:greenrd@greenrd.org
When the attached test case is run, no output is produced. This is cacao cvs
from today with external classpath 0.17. Other VMs output to the console when a
SEVERE log message is logged. According to comments in classpath's
logging.properties file, the threshold should default to INFO (although I don't
know where else this is documented).

My guess is that this is because the logging.properties file cannot be found (if
you run with -v you see a FileNotFoundException).

Comment #1 by greenrd@greenrd.org on 2005-07-19 15:46:49

Created an attachment (id=2)
test case

Comment #2 by greenrd@greenrd.org on 2005-07-19 19:12:36

I was right. The logging.properties file is not being found. One way to solve
this is to copy logging.properties from
classpath-0.17/resource/java/util/logging/logging.properties to the directory
specified by the system property gnu.classpath.home.url.

Comment #3 by twisti@complang.tuwien.ac.at on 2005-07-20 13:24:06

The logging.properties file is not installed but packaged into rt.jar
(glibj.zip). This seems to be a classpath bug. Fix for CACAO commited, patch
sent to classpath-paches.

Attachment id=2

date:2005-07-19 15:46
desc:test case
type:text/x-java
download:Test.java