2.1 RC1 Logging Question

8 views
Skip to first unread message

Rud

unread,
Oct 24, 2010, 11:10:21 PM10/24/10
to Google Web Toolkit
I have server side logging working in my application but cannot
control the level except for WARNING and SEVERE in logging.properties.
I have a 'warn' and 'info' level logging message. If I set SEVERE,
nothing shows in the log. If I set anything else then the 'warn' is
output but not the 'info'. This is true even if I put FINE or FINEST
as the level in the properties.

I also tried setting the level programatically but without success.

Am I missing something?

This is on my machine in development mode, not live on the web.

Rud
http://www.mysticlakesoftware.com

madein

unread,
Oct 25, 2010, 9:40:49 AM10/25/10
to Google Web Toolkit
Hi Rud,
I have the same problem with my env. I've recently spent a number of
hours trying to find root cause or workaround but without success...
I've also created completely new HelloWorld project to confirm that
sarver-side logging is not working - logs are printed out only for
warnings and severe levels.

Today I've reverted my project to Gwt2.0.3 and... logs work again.

If I'm missing something could you guide me how to make logging back?
Otherwise feel free to issue TR/bug on my behalf ;)

Cheers,
/m

Rud

unread,
Oct 25, 2010, 12:58:05 PM10/25/10
to Google Web Toolkit
This is also mentioned over in the GAE group:
http://groups.google.com/group/google-appengine-java/browse_frm/thread/cdd1134573efbfd0/6bfb8ca3c2eae157#6bfb8ca3c2eae157

I just tested the GAE 1.3.7 and 1.3.8 libraries. The .7 logging works
but the .8 does not.


Rud
http://www.mysticlakesoftware.com

unnurg

unread,
Oct 27, 2010, 2:20:21 PM10/27/10
to Google Web Toolkit
Are you using the Roo/RequestFactory stuff? The
RequestFactoryLogHandler takes a level in it's constructor, and it
doesn't send messages below that level across the wire - I believe
that in DynaTableRF and the generated roo scaffold app, WARNING is the
default level that is passed in.

- Unnur

On Oct 25, 9:58 am, Rud <rudmerr...@gmail.com> wrote:
> This is also mentioned over in the GAE group:http://groups.google.com/group/google-appengine-java/browse_frm/threa...
>
> I just tested the GAE 1.3.7 and 1.3.8 libraries. The .7loggingworks
> but the .8 does not.
>
> Rudhttp://www.mysticlakesoftware.com
>
> On Oct 25, 8:40 am, madein <mbukarew...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi Rud,
> > I have the same problem with my env. I've recently spent a number of
> > hours trying to find root cause or workaround but without success...
> > I've also created completely new HelloWorld project to confirm that
> > sarver-sideloggingis not working - logs are printed out only for
> > warnings and severe levels.
>
> > Today I've reverted my project to Gwt2.0.3 and... logs work again.
>
> > If I'm missing something could you guide me how to makeloggingback?
> > Otherwise feel free to issue TR/bug on my behalf  ;)
>
> > Cheers,
> > /m
>
> > On Oct 25, 5:10 am, Rud <rudmerr...@gmail.com> wrote:
>
> > > I have server sideloggingworking in my application but cannot
> > > control the level except for WARNING and SEVERE inlogging.properties.
> > > I have a 'warn' and 'info' levelloggingmessage. If I set SEVERE,

Rud

unread,
Oct 27, 2010, 6:10:12 PM10/27/10
to Google Web Toolkit
Thanks for thinking about this but, no, I am not using Roo. It looks
like a GAE or Jetty issue.

Rud
Reply all
Reply to author
Forward
0 new messages