Skip to main content

is java logging broken in b60+

3 replies [Last post]
johnpreston
Offline
Joined: 2004-10-13
Points: 0

Can anyone tel me if java logging is disbaled or broken in snapshot b60 or higher. I don't get any output.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
johnpreston
Offline
Joined: 2004-10-13
Points: 0

Thanks. The problem turned out to be the apache commons logging that I was using. The place where I set the system property to use the jdk logger had changed and it seems that the logging factory was being setup before this system property had been set and thus my logs were going into a hole.

sjasja
Offline
Joined: 2004-08-15
Points: 0

Do you have a demo program? The one below works for me in b63.
[pre]
public class Test
{
private static java.util.logging.Logger log =
java.util.logging.Logger.getLogger("fee.fie.foe.foo");

public static void main(String args[])
{
log.severe("goodbye cruel world");
}
}
[/pre]

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

if all programs' terminations is oh so tragic then I think I'd rather prefer them to all get into infinite loops or circular references of some kind... ;)