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


   1. Remote Address:
   180.96.101.13:10085
   2. Request URL:
   http://www.mydomain.com:10085/sp/chigo/remote_logging
   3. Request Method:
   POST
   4. Status Code:
   200 OK
   5. Request Headersview source
      1. Accept:
      */*
      2. Accept-Encoding:
      gzip,deflate
      3. Accept-Language:
      en-US,en;q=0.8
      4. Cache-Control:
      max-age=0
      5. Connection:
      keep-alive
      6. Content-Length:
      298
      7. Content-Type:
      text/x-gwt-rpc; charset=UTF-8
      8. Host:
      www.mydomain.com:10085
      9. Origin:
      http://61.142.206.125:9101
      10. Referer:
      http://61.142.206.125:9101/waf/index.action
      11. User-Agent:
      Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) 
      AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 
      Safari/9537.53
      12. X-GWT-Module-Base:
      http://www.mydomain.com:10085/sp/chigo/
      13. X-GWT-Permutation:
      AD0D34E43C3D4F9B1EEE6384940C8483
      6. Request Payload
      1. 
7|0|8|http://www.mydomain.com:10085/sp/chigo/|E5CFE27DD53BDBE4521FDBFC1A038618|com.google.gwt.logging.shared.RemoteLoggingService|logOnServer|java.util.logging.LogRecord/2492345967|INFO|Taking
 
      45 milliseconds to layout 
      3932|com.mydomain.gwt.client.Layout|1|2|3|4|1|5|5|6|7|8|V1kCRyY|0|
   7. Response Headersview source
      1. Access-Control-Allow-Headers:
      X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept, 
      x-gwt-module-base, x-gwt-permutation
      2. Access-Control-Allow-Methods:
      POST, TRACE, OPTIONS
      3. Access-Control-Allow-Origin:
      *
      4. Access-Control-Max-Age:
      1728000
      5. Content-Disposition:
      attachment
      6. Content-Length:
      14
      7. Content-Type:
      application/json;charset=utf-8
      8. Date:
      Fri, 21 Jul 2017 07:24:43 GMT
      9. Server:
      Apache-Coyote/1.1
      
In Tomcat localhost_access_log.2017-07-21.txt log file, I can see this 
entry 123.179.103.242 - - [21/Jul/2017:17:28:23 +0800] "POST 
/sp/chigo/remote_logging HTTP/1.1" 200 14.

My question is I can not see any log information in log files under Tomcat 
logs folder. 

Thanks,

David
 

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to