[email protected] (mailto:[email protected])
-- Collect A. Ads Gesendet mit Sparrow (http://www.sparrowmailapp.com/?sig) Am Donnerstag, 12. Januar 2012 um 23:17 schrieb PTJ: > I am having trouble getting debug logging to work when using the > remote logging option. I have configured my project to compile with > log level of ERROR and would like to use the query parameter method to > change the log level to DEBUG. When running with a log level of ERROR > everything works great. When running with in DEBUG none of my debug > logs are getting logged on the server. The only time I am getting > debug logs is when running my project in debug mode via eclipse. > > The log_level is being set appropriately, which I have checked via a > call to Log.getCurrentLogLevel(). This code snipped will print out > the correct log_level and "Log level set to ERROR..." when ERROR > logging, but will never print "Log level set to DEBUG...". > > Log.error("Logging log_level: " + Log.getCurrentLogLevel()); > > switch(Log.getCurrentLogLevel()) { > case Log.LOG_LEVEL_DEBUG: > Log.debug("Log level set to DEBUG..."); > break; > > case Log.LOG_LEVEL_ERROR: > Log.error("Log level set to ERROR..."); > break; > } > > > Any ideas why I am seeing this behavior? I understand this may not be > an issue with gwt-log but possibly my logging configuration on the > server(s). I have tested this against weblogic and jboss with the > same results. Any help would be greatly appreciated. Provided below > is my lib versions and configuration. > > > Library Versions: > gwt-log v3.1.5 > GWT v2.3.0 > Tested Servers: JBoss Application Server 6.1, Weblogic 11gR1 > > > XXX.gwt.xml configuration: > > <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" /> > <extend-property name="log_level" values="ERROR"/> > <inherits name="com.allen_sauer.gwt.log.gwt-log-RemoteLogger" /> > <set-property name="log_DivLogger" value="DISABLED" /> > > > Regards, > Paul J. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "gwt-log" group. > To post to this group, send email to [email protected] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]). > For more options, visit this group at > http://groups.google.com/group/gwt-log?hl=en. > > -- You received this message because you are subscribed to the Google Groups "gwt-log" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/gwt-log?hl=en.
