Skip to main content

server.log very 'chatty' with DEBUG

3 replies [Last post]
colinchiew
Offline
Joined: 2008-04-18

In the server.log of my Glassfish domain, a lot of DEBUG messages appear (as below). I've checked the domain.xml and admin console, and all settings are set at INFO level. Is there somewhere else to check? (There are struts applications deployed, but I can;t find any DEBUG levels there too)

[#|2008-08-10T19:23:57.914-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=14;_ThreadName=pool-1-thre
ad-12;|DEBUG [pool-1-thread-12] (ObjectCreateRule.java:199) - [ObjectCreateRule]{struts-config/form-beans/form-bean/form-prop
erty}New org.apache.struts.config.FormPropertyConfig
|#]

[#|2008-08-10T19:23:57.915-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=14;_ThreadName=pool-1-thre
ad-12;|DEBUG [pool-1-thread-12] (Digester.java:1284) - Fire begin() for SetPropertiesRule[]
|#]

[#|2008-08-10T19:23:57.915-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=14;_ThreadName=pool-1-thre
ad-12;|DEBUG [pool-1-thread-12] (SetPropertiesRule.java:196) - [SetPropertiesRule]{struts-config/form-beans/form-bean/form-pr
operty} Setting property 'name' to 'reqCode'
|#]

[#|2008-08-10T19:23:57.916-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=14;_ThreadName=pool-1-thre
ad-12;|DEBUG [pool-1-thread-12] (SetPropertiesRule.java:196) - [SetPropertiesRule]{struts-config/form-beans/form-bean/form-pr
operty} Setting property 'type' to 'java.lang.String'
|#]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mvatkina
Offline
Joined: 2005-04-04

stream.out is usually means capturing System.out.println calls. If this is the case here, DEBUG is the beginning of that string.

Regards,
-marina

whartung
Offline
Joined: 2003-06-13

Also, if something is using commons.logging redirected through java.util.logging, it puts log4j DEBUG statement in to the INFO category in java.util.logging, rather than using the FINE family.

So, it may be that.

But, no matter, it sounds like a component within the application, not necessarily GF itself.

vbkraemer
Offline
Joined: 2003-09-03

it looks like the messages are beiing logged at the INFO level. you may need to increase the logging level for the web container to some level like warning or severe. It may be som eother component, though. this is just a guess at this point.

vbk