If you want client side log messages to appear on the server you need to
enable the RemoteLogger.

Does that help?
Fred


On Thu, Oct 14, 2010 at 1:50 PM, Ray Tayek <[email protected]> wrote:

> At 04:08 AM 10/14/2010, you wrote:
>
>> I followed your advice and put this into the client-side:
>>
>> //Log.setCurrentLogLevel(Log.LOG_LEVEL_INFO);
>> Log.setCurrentLogLevel(Log.LOG_LEVEL_DEBUG);
>> Log.setUncaughtExceptionHandler();
>> Log.info("Starting up");
>>
>> I now see the client-side logging in the console, and in a frame on
>> the webpage itself, which is a good thing.
>>
>
> thsi is what i see also.
>
>
>   I was also getting this
>> Java GUI window to come up, which had "Google Development Mode" in the
>> caption.  From what I've read, it is tool you use to debug your
>> project, when not using Eclipse.
>>
>
> i have no clue.
>
>
>
>  My server-side logging statements do not initially come through,
>> whether it's the console window, Google Development Mode window, etc.
>> I added a Log.fatal, Log.error, Log.debug, and Log.info statements to
>> my method call on the server.  I then removed the log4j JAR file from
>> WEB-INF\libs.  I do now see the Log.fatal, and Log.error messages.
>> Log.info and Log.debug are not showing up.  Is there a configuration
>> file on the server-side that I need to change?  Or are there methods
>> on the servlet to call to set the log level?
>>
>
> don't know. i am a newbie. my logging works as advertised.
>
> try completely removing any log4j jar. maybe you are talking to the wrong
> logger. check the import on the server.
>
> thanks
>
>
>
>   Oct 14, 12:37 am, Ray Tayek <[email protected]> wrote:
>> > At 09:01 PM 10/13/2010, you wrote:
>> >
>> > >  ... I'm new to GWT.  I'm trying to add some logging to my server, and
>> > >started to use gwt-log.  I'm using the built-in Jetty application
>> > >server, through the Eclipse plugin.  Using gwt-log 3.0.3, and GWT
>> > >2.0.4.  I've also added log4j-1.2.16.jar into WEB-INF\libs.
>> >
>> > i just have gwt-log-3.0.3.jar in lib/
>> >
>> > >So far, I cannot see any logging in Eclipse from the server.  I was
>> > >expecting to see something in the Console or Development Mode windows,
>> >
>> > i see mine on the console.
>> >
>> > >but none of my logger messages are being shown.  I do see other
>> > >messages, presumably from GWT itself, but none of mine are coming
>> > >through.  I'm calling Log.debug, which should be turned on my default,
>> > >from what I've read.
>> >
>> > >My *.gwt.xml has:
>> >
>> > >  <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
>> >
>> > mine has the same thing
>> >
>> > >I'm not sure if Jetty requires another log4j config file, or if Jetty
>> > >just outputs it's log data to somewhere that Eclipse is not seeing it.
>> >
>> > i have this in my on module load:
>> >
>> > Log.setCurrentLogLevel(Log.LOG_LEVEL_INFO);
>> > //Log.setCurrentLogLevel(Log.LOG_LEVEL_DEBUG);
>> > Log.setUncaughtExceptionHandler();
>> > Log.info("Starting up");
>> >
>> > thanks
>> >
>> > ---
>> > co-chairhttp://ocjug.org/
>>
>> --
>> 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]<gwt-log%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/gwt-log?hl=en.
>>
>
> ---
> co-chair http://ocjug.org/
>
>
> --
> 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]<gwt-log%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/gwt-log?hl=en.
>
>


-- 
Fred Sauer
Developer Advocate
Google Inc.
1600 Amphitheatre Parkway
Mountain View, CA 94043
[email protected]

-- 
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.

Reply via email to