Hi,

when developing JUnit runstyles I want to do info/trace logging, e.g.:

shell.getTopLogger().log(TreeLogger.TRACE, "Letting PhantomJS fetch " + 
url);

I have to change all those logging outputs to at least WARN to see 
anything. This is caused by the following code in JUnitShell I guess:

      // Override log level to set WARN by default..
      registerHandler(new ArgHandlerLogLevel(options) {
        @Override
        protected Type getDefaultLogLevel() {
          return TreeLogger.WARN;
        }
      });

My question is: Why? I find it very strange that I can't set a custom log 
level via command line argument or system property. What is the reasoning 
behind this and can it be changed?

Cheers
Maik

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to