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
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
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
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
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
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
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
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
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
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
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
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();
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
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
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
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
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
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
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
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.
-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
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
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
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 =
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
= 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
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
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
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
http://gwt-code-reviews.appspot.com/830802/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
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
LGTM
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
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
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
http://gwt-code-reviews.appspot.com/830802/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Bob, can you take this one?
http://gwt-code-reviews.appspot.com/830802/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
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
--
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
38 matches
Mail list logo