I use gwt-log with remote logging which works fine. My app is also running 
in a PhoneGap container. 

My web.xml configuration is the following: 

<inherits name="com.allen_sauer.gwt.log.gwt-log-TRACE" />
<inherits name="com.allen_sauer.gwt.log.gwt-log-RemoteLogger" />
  <set-property name="log_DivLogger" value="DISABLED" />
  <set-property name="log_FirebugLogger" value="DISABLED" />

<set-property name="compiler.emulatedStack" value="true" />
  <set-configuration-property 
name="compiler.emulatedStack.recordLineNumbers" value="true"/>
  <set-configuration-property name="compiler.emulatedStack.recordFileNames" 
value="true"/>


Remote logging works fine when using my app in web browser but when I 
switch it to a phonegap container do not se the method names. I tried: 

 Log.fatal("This is what an exception might look like", new RuntimeException
("2 + 2 = 5"));


The Console output is: 


2014-04-03 19:20:41.202 Test[29194:907] ERROR: (-:-) 2014-04-03 
19:20:41,193 [FATAL] This is what an exception might look like

java.lang.RuntimeException: 2 + 2 = 5

    at Unknown._Jb(StackTraceCreator.java:180)

    at Unknown.ixb(StackTraceCreator.java:518)

    at Unknown.gxb(Throwable.java:56)

    at Unknown.Bzb(Exception.java:29)

    at Unknown.Ezb(RuntimeException.java:29)

    at Unknown.Cc(Mobile.java:81)

    at Unknown.Fc(Mobile.java:32)

    at Unknown.FJb(SchedulerImpl.java:180)

    at Unknown.wJb(SchedulerImpl.java:345)

    at Unknown.JJb(SchedulerImpl.java:78)

    at Unknown.DJb(SchedulerImpl.java:138)

    at Unknown.TIb(Impl.java:290)

    at Unknown.XIb(Impl.java:347)

    at Unknown.anonymous(Impl.java:93)

    at Unknown.anonymous(UnloadSupport.java:42)



Somehow stacktrace deobfuscation does not run correctly. 


*Does anyone has an idea how to fix it?*
 


-- 
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/d/optout.

Reply via email to