Re: CORS remote logging

2017-07-21 Thread Jens
Maybe you have to configure Tomcat logging correctly? GWT simply uses the LogRecord you send and logs it (after deobfuscating) using java.util.logging.Logger.log(LogRecord). Just set a breakpoint in RemoteLoggingServiceImpl.logOnServer(LogRecord) to see what is going on. -- J. -- You

CORS remote logging

2017-07-21 Thread David
I am following http://spreadgwt.blogspot.com/2015/11/log-gwt-client-errors-on-server-side.html to use GWT remote logging feature. My server is Tomcat 8. Once I run my GWT application in Chrome, in "Network" tab, I can see everything going well (Please see Headers from Chrome below

Re: How to Remote Logging without using RPC?

2015-06-29 Thread Ignacio Baca Moreno-Torres
Remote logging example using request factory https://github.com/gwtproject/gwt/blob/master/samples/dynatablerf/src/main/java/com/google/gwt/sample/dynatablerf/client/DynaTableRf.java#L73 On Monday, June 29, 2015 at 9:27:59 PM UTC+2, Chak Lai wrote: In the GWT application that I am working

Re: How to Remote Logging without using RPC?

2015-06-29 Thread Chak Lai
Thank you. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to

How to Remote Logging without using RPC?

2015-06-29 Thread Chak Lai
In the GWT application that I am working on, it is setup to remote-logging with any uncaught exceptions via SerializableThrowable RPC StackTraceDeobfuscator ... Is there any documentation on how to do it without using RPC? I have search the Internet but is seems most of the documentation

Re: GWT Remote Logging message gets logged twice

2014-01-10 Thread sluettmann
No one that has any idea what to do about that issue? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To

GWT Remote Logging message gets logged twice

2013-12-03 Thread sluettmann
log4j-gwt.jar to access log4j loggers even on client site. I also implemented my own remote logging servlet and put it in my web.xml. This servlet overrides the logOnServer() method, takes the log record and logs it into a log4j logger. That works fine so far. But every time a client logs

OOP question for remote logging

2013-06-26 Thread Leung
Hi, I am using java.util.Logger for remote logging. The Logger is called by the client side objects. Other than instantiate Logger for every class on the client side, is there any way to put it in a separate class? (OOP way). Thanks -- You received this message because you are subscribed

Re: GWT Remote Logging - Logger Name replaced by logOnServer

2012-05-02 Thread Marco
Just had the same problem. Seems to be Issue 1930http://code.google.com/p/googleappengine/issues/detail?id=1930 As a (temporary) workaround I replaced the

Re: Remote Logging

2011-12-22 Thread Keith Bennett
Ed, thanks for your reply! The log data is now being directed to my logback files on the server, but I still have one remaining issue. I noticed that all of the java.util.logging get additionally logged to my Tomcat console. Any native logback logging statements do not. So, with the

Re: Remote Logging

2011-12-22 Thread Ed Bras
Google is your friend: http://stackoverflow.com/questions/2533227/how-can-i-disable-the-default-console-handler-while-using-the-java-logging-api http://stackoverflow.com/questions/2533227/how-can-i-disable-the-default-console-handler-while-using-the-java-logging-api On Thu, Dec 22, 2011 at 6:44

Re: Remote Logging

2011-12-22 Thread Keith Bennett
Ed, Thank you for the link. I tried searching for a solution myself, but I guess I didn't enter the correct search terms. Regardless, after tinkering with several of the solutions offered via the link you sent me, the following solution worked for me: Logger globalLogger = Logger.getLogger();

Re: Remote Logging

2011-12-21 Thread Keith Bennett
Thomas, thanks for the feedback. I included the log4j-over-slf4j, jcl- over-slf4j, and jul-to-slf4j jars in my project, but I still do not see anything logged in my logback files. When you stated that I needed to configure the slf4j bridge, do you know if there is anything else I need to do

Re: Remote Logging

2011-12-21 Thread Ed
Have a look at: + gwt logging: http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html + gwt-log: http://code.google.com/p/gwt-log/ http://code.google.com/p/gwt-log/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: Remote Logging

2011-12-21 Thread Keith Bennett
Ed, I have followed all of the guidelines as documented in the first link you sent. Again, I am able to direct the log output to my logback-managed files, but only if I use the RemoteLoggingServiceImpl and RemoteLoggingServiceUtil custom classes I created that use the slf4j Logger and LogFactory

Re: Remote Logging

2011-12-21 Thread Ed Bras
Make sure you correctly install the jul bridge: SLF4JBridgeHandler.install() when your app starts. See: http://www.slf4j.org/api/org/slf4j/bridge/SLF4JBridgeHandler.html If that doesn't work, then debug it, and you will quickly find out what goes wrong. On Wed, Dec 21, 2011 at 8:54 PM, Keith

Remote Logging

2011-12-20 Thread Keith Bennett
I have Remote Logging enabled, and any data logged in my GWT client code only shows up in my Tomcat console. I have logback configured and correctly logging data to log files for server code. Does anyone know how I can configure GWT remote logging so that my client log data gets directed to my

Remote Logging

2011-12-20 Thread Thomas Broyer
GWT only uses java.util.logging, so you have to configure the Slf4j bridge to redirect the logs to logback. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

GWT remote Logging

2011-10-04 Thread Raja Shekhar
Hi http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html#Remote_Logging As per the document, if i wish to have remoteLogging, do i need to write a servlet class remoteLoggingServlet? if so, could someone please provide me an example how it will look like? if not, what do i need to

Re: GWT remote Logging

2011-10-04 Thread Thomas Broyer
The servlet is already there, you just need to map it in your web.xml: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/logging/server/RemoteLoggingServiceImpl.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: Remote Logging

2011-09-22 Thread Alexandre Ardhuin
-nameremoteLogging/servlet-name url-pattern/YOUR_MODULE/remote_logging/url-pattern /servlet-mapping Alexandre 2011/9/17 Mike mr.mike.a.higg...@gmail.com I'm attempting to use remote logging as described in http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html#Remote_Logging I'm

Remote Logging

2011-09-16 Thread Mike
I'm attempting to use remote logging as described in http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html#Remote_Logging I'm using a very simple test app based on the Greeting example. It appears to work in the Eclipse hosted mode, but when I deploy to Tomcat6 I see nothing

Re: GWT Remote Logging - Logger Name replaced by logOnServer

2011-08-15 Thread Wooi
I mean I expect something like this, net.xxx.client.Abc Test WARNING: blablabla and I forgot to mention that this happen when I try to log from client side. While I try to log from server side, it work fine. net.xxx.server.AbcDao Test WARNING: blablabla Anyone can help? Thank you. -- You

GWT Remote Logging - Logger Name replaced by logOnServer

2011-08-12 Thread Wooi
Below is the message I got from my apache server... com.google.gwt.logging.server.RemoteLoggingServiceUtil logOnServer WARNING: blablabla I try to check RemoteLoggingServiceUtil, seeing while my logger name is null it will replaced? This is my code... private static Logger log =

Re: GWT remote logging

2011-05-25 Thread Alexandre Ardhuin
the error message. WireActivityLogger SEVERE: Remote logging failed: com.google.gwt.user.client.rpc.StatusCodeException: 0 at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java: 192

Re: GWT remote logging

2011-05-25 Thread Dave
= new SimpleRemoteLogHandler(); remoteLog.publish(new LogRecord(Level.INFO, test GWT log)); I'm sure that I'm missing a simple setup step. I get the error message. WireActivityLogger SEVERE: Remote logging failed: com.google.gwt.user.client.rpc.StatusCodeException: 0

GWT remote logging

2011-05-24 Thread Dave
is: SimpleRemoteLogHandler remoteLog = new SimpleRemoteLogHandler(); remoteLog.publish(new LogRecord(Level.INFO, test GWT log)); I'm sure that I'm missing a simple setup step. I get the error message. WireActivityLogger SEVERE: Remote logging failed

[gwt-contrib] [google-web-toolkit] r8778 committed - Add the option to use JSON rather than GWT RPC in remote logging...

2010-09-14 Thread codesite-noreply
Revision: 8778 Author: unn...@google.com Date: Tue Sep 14 11:43:19 2010 Log: Add the option to use JSON rather than GWT RPC in remote logging Review at http://gwt-code-reviews.appspot.com/830802 Review by: fre...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=8778 Added

[gwt-contrib] Re: Add the option to use JSON rather than GWT RPC in remote logging (issue830802)

2010-09-13 Thread fredsa
http://gwt-code-reviews.appspot.com/830802/diff/3001/4002 File user/src/com/google/gwt/logging/client/JsonLogRecordClientUtil.java (right): http://gwt-code-reviews.appspot.com/830802/diff/3001/4002#newcode27 user/src/com/google/gwt/logging/client/JsonLogRecordClientUtil.java:27: * A set of

[gwt-contrib] Re: Add the option to use JSON rather than GWT RPC in remote logging (issue830802)

2010-09-13 Thread unnurg
http://gwt-code-reviews.appspot.com/830802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add the option to use JSON rather than GWT RPC in remote logging (issue830802)

2010-09-13 Thread unnurg
http://gwt-code-reviews.appspot.com/830802/diff/3001/4002 File user/src/com/google/gwt/logging/client/JsonLogRecordClientUtil.java (right): http://gwt-code-reviews.appspot.com/830802/diff/3001/4002#newcode27 user/src/com/google/gwt/logging/client/JsonLogRecordClientUtil.java:27: * A set of

[gwt-contrib] Re: Add the option to use JSON rather than GWT RPC in remote logging (issue830802)

2010-09-13 Thread Fred Sauer
LGTM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit] r8769 committed - Move remote logging into RF subclasses...

2010-09-13 Thread codesite-noreply
Revision: 8769 Author: unn...@google.com Date: Mon Sep 13 15:18:55 2010 Log: Move remote logging into RF subclasses Review by: rj...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=8769 Modified: /trunk/samples/dynatablerf/src/com/google/gwt/sample/dynatablerf

[gwt-contrib] Add the option to use JSON rather than GWT RPC in remote logging (issue830802)

2010-09-10 Thread unnurg
Reviewers: rjrjr, Description: Add the option to use JSON rather than GWT RPC in remote logging Please review this at http://gwt-code-reviews.appspot.com/830802/show Affected files: M user/src/com/google/gwt/logging/Logging.gwt.xml A user/src/com/google/gwt/logging/client

[gwt-contrib] Re: Add the option to use JSON rather than GWT RPC in remote logging (issue830802)

2010-09-10 Thread unnurg
http://gwt-code-reviews.appspot.com/830802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add the option to use JSON rather than GWT RPC in remote logging (issue830802)

2010-09-10 Thread rjrjr
Bob, can you take this one? http://gwt-code-reviews.appspot.com/830802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add the option to use JSON rather than GWT RPC in remote logging (issue830802)

2010-09-10 Thread Unnur Gretarsdottir
Asking Fred to pick up the 2 logging CL's since they're fairly independent of vega stuff and you guys sound swamped - Unnur On Fri, Sep 10, 2010 at 11:24 AM, rj...@google.com wrote: Bob, can you take this one? http://gwt-code-reviews.appspot.com/830802/show --

[gwt-contrib] [google-web-toolkit] r8379 committed - Minor changes to the codelab, and making it so that the remote logging...

2010-07-14 Thread codesite-noreply
Revision: 8379 Author: unn...@google.com Date: Tue Jul 13 14:36:41 2010 Log: Minor changes to the codelab, and making it so that the remote logging is disabled by default Review by: fre...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=8379 Modified: /trunk/user/src