Ken, gwt-log is only intended for logging on the client-side, same for 
GWT.log().  Basically if something bad (or good) happens in the browser, it 
will send a message back to your server.  Your application server should be 
configured for logging with log4j or other logging package.  So, on your 
server you might have server.log - this is where you might get the remote 
log messages.

In your servlet classes,  you would simply instantiate an instance of a 
logger, such as log4j.  Something like:
Logger log = Logger.getLogger(MyClass.class);

On Sunday, September 8, 2013 5:48:39 PM UTC-4, Ken C wrote:
>
> I am new to GWT, and I haven't been able to get logging working on the 
> server side. I installed gwt-log per the instructions and get the divLogger 
> in my DOM. But when I do com.allen_sauer.gwt.log.client.Log.debug("Hello 
> World") in my servlet class, nothing shows up in the divLogger. This is all 
> under Eclipse, using Chrome and the Chrome debug plugin. GWT.log() doesn't 
> work on the server side either, which is what made be find gwt-log in the 
> hopes it might help.
>
> I am pretty sure I am doing something fundamentally wrong. Any ideas? I 
> have poured over the "have you remembered to..." usual suspects a hundred 
> times. I get no errors, just chirping crickets.
>
> TIA,
> Ken
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"gwt-log" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/gwt-log.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to