SNMP monitoring logs its messages to the Enterprise Server log file, server.log. This component uses three loggers:
javax.enterprise.system.tools.admin.snmp
javax.enterprise.system.tools.admin.snmp.adapter
javax.enterprise.system.tools.admin.snmp.genericmediation
Use the following asadmin set commands to set log levels for these loggers. Substitute the name of the server instance for server. For example, on a Solaris or Linux installation you would specify commands like the following:
asadmin set server.log-service.module-log-levels.property.javax\\.enterprise\\.system\\.tools\\.admin\\.snmp=WARNING asadmin set server.log-service.module-log-levels.property.javax\\.enterprise\\.system\\.tools\\.admin\\.snmp\\. adapter=INFO asadmin set server.log-service.module-log-levels.property.javax\\.enterprise\\.system\\.tools\\.admin\\.snmp\\. genericmediation=FINE |
On a Windows system, use a single backslash (\) as an escape character, not a double backslash (\\).
For more information about the asadmin set command, see the Sun GlassFish Enterprise Server 2.1 Reference Manual.