GWT uses standard java.util.logging, which lets you specify a custom
formatter in logging.properties. Perhaps this will help:

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rtrb_createformatter.html

/dmc

On Fri, Dec 24, 2010 at 10:07 PM, metalhammer29a
<[email protected]> wrote:
> I am using the new Logging feature introduced in GWT 2.1.
>
> I get this annoying line in my logs, that keeps repeating in every
> other line :
>
> "24-Dec-2010 6:58:42 PM java.util.logging.LogManager$RootLogger log"
> INFO : what i am interested in
> 24-Dec-2010 6:58:42 PM java.util.logging.LogManager$RootLogger log
> INFO: .....
> 24-Dec-2010 6:58:42 PM java.util.logging.LogManager$RootLogger log
>
>
> I want to get rid of this,
> "24-Dec-2010 6:58:42 PM java.util.logging.LogManager$RootLogger log"
> because it doesnt add anything of value, the time and date is
> interesting,
> but not that full name of the class.
>
>
> does anyone know how I can do that ?
> I want to see only the INFO part, not the other lines.
> (time and date are interesting though)
>
> I use these settings:
> private static Logger logger = Logger.getLogger("");
>
> and in my .gwt.xml file:
>
>    <set-property name="gwt.logging.enabled" value="TRUE"/>
>    <set-property name="gwt.logging.logLevel" value="ALL"/>
>    <set-property name="gwt.logging.consoleHandler" value="ENABLED" />
>    <set-property name="gwt.logging.developmentModeHandler"
> value="ENABLED" />
>    <set-property name="gwt.logging.firebugHandler" value="ENABLED" />
>    <set-property name="gwt.logging.hasWidgetsHandler"
> value="DISABLED" />
>    <set-property name="gwt.logging.popupHandler" value="DISABLED" />
>    <set-property name="gwt.logging.systemHandler" value="ENABLED" />
>    <set-property name="gwt.logging.simpleRemoteHandler"
> value="ENABLED" />
>
>
> I tried changing some of these properties with no luck.
> please help.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" 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/google-web-toolkit?hl=en.
>
>



-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en.

Reply via email to