My Glassfish server logs messages like this every 10 minutes or so:
[#|2009-07-01T10:10:03.373+0930|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=21;_ThreadName=Timer-13;_RequestID=30966ccf-eac6-4cff-8256-22bc31862686;|
java.lang.NullPointerException: name cannot be null
at javax.management.ObjectName.construct(ObjectName.java:405)
at javax.management.ObjectName.<init>(ObjectName.java:1403)
at
I know what the problem is, so that's not the part I'm interested. What I want to know is how I filter those logs out so I never have to see them again. I tried setting the logging for the javax.enterprise.system.stream package to SEVERE as a custom logging property in Glassfish but that had no effect.