Property 'gwt.logging' not found

853 views
Skip to first unread message

John

unread,
Nov 10, 2010, 8:44:34 AM11/10/10
to Google Web Toolkit
I'm trying to switch from gwt-log over to the new logging in 2.1, but
I'm getting an error at compile time:

Loading inherited module 'com.google.gwt.logging.Logging'
Module 'com.google.gwt.logging.Logging' has already been loaded
and will be skipped
[ERROR] Property 'gwt.logging' not found
[ERROR] Failure while parsing XML

in my *.gwt.xml file I have:

<inherits name="com.google.gwt.logging.Logging" />

<set-property name='gwt.logging' value='ENABLED' />
<set-property name='gwt.logging.logLevel' value='ALL' />
<set-property name='gwt.logging.consoleHandler' value='ENABLED' />

From what I could tell, that should be all the setup I need ... has
anyone else experienced this? I am missing just missing something?

Thanks in advance!

John

Prashant Hegde

unread,
Nov 10, 2010, 8:55:25 AM11/10/10
to google-we...@googlegroups.com
Try 
<set-property name='gwt.logging.enabled' value='TRUE' />  
and not
<set-property name='gwt.logging' value='ENABLED' />  

Regards
Prashant


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


John

unread,
Nov 10, 2010, 9:23:36 AM11/10/10
to Google Web Toolkit
Unfortunately that doesn't fix it - thanks for the suggestion though!

On Nov 10, 8:55 am, Prashant Hegde <prashant.he...@gmail.com> wrote:
> Try
> <set-property name='gwt.logging.enabled' value='TRUE' />
> *and not*
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsubs cr...@googlegroups.com>
> > .

John

unread,
Nov 10, 2010, 12:47:00 PM11/10/10
to Google Web Toolkit
Whoops! I only noticed the change from ENABLED to TRUE - I didn't even
catch the addition of .enabled. Adding that in fixed it - thanks
again!

John

Tony

unread,
Nov 10, 2010, 9:23:20 AM11/10/10
to Google Web Toolkit
I ran into this documentation bug as well.
<set-property name='gwt.logging.enabled' value='TRUE' />
is the correct syntax currently.

On Nov 10, 8:55 am, Prashant Hegde <prashant.he...@gmail.com> wrote:
> Try
> <set-property name='gwt.logging.enabled' value='TRUE' />
> *and not*
> <set-property name='gwt.logging' value='ENABLED' />
>
> Regards
> Prashant
>
> On Wed, Nov 10, 2010 at 7:14 PM, John <bradley.r...@gmail.com> wrote:
> > I'm trying to switch from gwt-log over to the new logging in 2.1, but
> > I'm getting an error at compile time:
>
> > Loading inherited module 'com.google.gwt.logging.Logging'
> >      Module 'com.google.gwt.logging.Logging' has already been loaded
> > and will be skipped
> >   [ERROR] Property 'gwt.logging' not found
> >   [ERROR] Failure while parsing XML
>
> > in my *.gwt.xml file I have:
>
> > <inherits name="com.google.gwt.logging.Logging" />
>
> > <set-property name='gwt.logging' value='ENABLED' />
> > <set-property name='gwt.logging.logLevel' value='ALL' />
> > <set-property name='gwt.logging.consoleHandler' value='ENABLED' />
>
> > From what I could tell, that should be all the setup I need ... has
> > anyone else experienced this?  I am missing just missing something?
>
> > Thanks in advance!
>
> > John
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages