There is some hard coding going on. Please see:
http://www.google.com/codesearch/p?hl=en#nPuVj14EsSA/trunk/Log/server/com/allen_sauer/gwt/log/server/ServerLogImplJDK14.java
In particular these lines of code are there:
logger = Logger.getLogger("gwt-log");
logger.setUseParentHandlers(false);
ConsoleHandler consoleHandler = new ConsoleHandler();
consoleHandler.setLevel(Level.ALL);
logger.addHandler(consoleHandler);
Hope that clarifies the behavior you are seeing.
Fred Sauer
[email protected]
On Tue, Dec 30, 2008 at 12:55 AM, akutz <[email protected]> wrote:
>
> Quick question - on the server side I am also using gwt-log, but it
> does not seem to respect my settings in the properties file. I have it
> configured to spit out DEBUG messages with:
>
> log4j.logger.gwt-log=DEBUG, gwt-log
> log4j.appender.gwt-log=org.apache.log4j.ConsoleAppender
> log4j.appender.gwt-log.layout=org.apache.log4j.PatternLayout
> log4j.appender.gwt-log.layout.ConversionPattern=[%p] "%d{yyyy-MM-dd
> HH:mm:ss:SSS}" %m%n
>
> However, when I change it to ERROR, all the messages keep coming, even
> those logged with Log.debug(String). Thoughts?
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---