Sorry. It's there now: http://code.google.com/p/gwt-log/downloads/list
On Mon, Jun 20, 2011 at 6:54 PM, Rob Ferguson <[email protected]>wrote: > Hi Fred, > > -> Can you try 3.1.3, which should fix this? > > 3.1.3 is not on the downloads page? Where can I find it? > > Cheers > Rob > > On Tue, Jun 21, 2011 at 10:00 AM, Fred Sauer <[email protected]> wrote: > >> Can you try 3.1.3, which should fix this? >> >> On Sun, May 22, 2011 at 4:11 PM, Rob <[email protected]> wrote: >> >>> Hi, >>> >>> I am using gwt-log 3.1.2 for logging on the client and the server. >>> However, the file name and line number don't appear correctly in the >>> Console (e.g. gwt-log:72) for server logging statements? >>> >>> For example: >>> >>> -> >>> >>> 08:19:54,022 DEBUG gwt-log:72 - FileUpload Servlet >>> 08:19:54,027 DEBUG gwt-log:72 - tmpDir: C:\Users\ROBFER~1\AppData\Local >>> \Temp\Jetty_127_0_0_1_8888_war____-g0qk00 >>> 08:19:54,027 DEBUG gwt-log:72 - destinationDir: C:\tools\IDEs\helios >>> \workspace\Serendipity\war\files\upload >>> 08:19:54,034 DEBUG gwt-log:72 - FileDownload Servlet >>> 08:19:54,034 DEBUG gwt-log:72 - destinationDir: C:\tools\IDEs\helios >>> \workspace\Serendipity\war\files\download >>> 08:19:54,077 DEBUG JspServlet:80 - Scratch dir for the JSP engine is: >>> C:\Users\ROBFER~1\AppData\Local\Temp\Jetty_127_0_0_1_8888_war____- >>> g0qk00\jsp >>> 08:19:54,077 DEBUG JspServlet:82 - IMPORTANT: Do not modify the >>> generated servlets >>> 08:38:41,006 INFO MLog:80 - MLog clients using log4j logging. >>> 08:38:41,664 INFO C3P0Registry:204 - Initializing c3p0-0.9.1 [built >>> 16-January-2007 14:46:42; debug? true; trace: 10] >>> >>> ... >>> >>> -> >>> >>> The output to the Development Mode (tab) is formatted correctly (e.g. >>> MultiPageEntryPoint.java:78): >>> >>> -> >>> >>> [INFO] [serendipity] - Module serendipity has been loaded >>> [INFO] [serendipity] - (MultiPageEntryPoint.java:78) 2011-05-23 >>> 08:32:45,648 [DEBUG] onModuleLoad2() >>> >>> [INFO] [serendipity] - (MultiPageEntryPoint.java:105) 2011-05-23 >>> 08:32:46,234 [DEBUG] Duration: 0.598 seconds >>> >>> [INFO] [serendipity] - (LoggedInGatekeeper.java:41) 2011-05-23 >>> 08:38:43,218 [DEBUG] Administrator credentials have been >>> authenticated. >>> >>> [INFO] [serendipity] - (MainPagePresenter.java:86) 2011-05-23 >>> 08:38:43,738 [DEBUG] onBind() >>> >>> [INFO] [serendipity] - (SignInPagePresenter.java:120) 2011-05-23 >>> 08:38:43,742 [DEBUG] onSuccess() - 16eil3d0yxiyc >>> >>> [INFO] [serendipity] - (MainPagePresenter.java:100) 2011-05-23 >>> 08:38:44,221 [DEBUG] onReveal() >>> >>> [INFO] [serendipity] - (MainPagePresenter.java:107) 2011-05-23 >>> 08:38:44,222 [DEBUG] onReset() >>> >>> [INFO] [serendipity] - (MainPageView.java:149) 2011-05-23 08:38:44,222 >>> [DEBUG] setInSlot() >>> >>> [INFO] [serendipity] - (NavigationPane.java:72) 2011-05-23 >>> 08:38:44,254 [DEBUG] selectRecord(place) - Activities >>> >>> [INFO] [serendipity] - (NavigationPaneSection.java:61) 2011-05-23 >>> 08:38:44,259 [DEBUG] No data has arrived... >>> >>> [INFO] [serendipity] - (NavigationPaneSection.java:61) 2011-05-23 >>> 08:38:44,262 [DEBUG] No data has arrived... >>> >>> [INFO] [serendipity] - (NavigationPaneSection.java:61) 2011-05-23 >>> 08:38:44,264 [DEBUG] No data has arrived... >>> >>> [INFO] [serendipity] - (MainPagePresenter.java:107) 2011-05-23 >>> 08:38:44,264 [DEBUG] onReset() >>> >>> [INFO] [serendipity] - (ActivitiesPresenter.java:85) 2011-05-23 >>> 08:38:44,264 [DEBUG] onReset() >>> >>> [INFO] [serendipity] - (NavigationPaneSectionListGrid.java:70) >>> 2011-05-23 08:38:45,187 [DEBUG] onDataArrived() >>> >>> -> >>> >>> The module definition file: >>> >>> -> >>> >>> <?xml version="1.0" encoding="UTF-8"?> >>> >>> <module rename-to="serendipity"> >>> >>> <!-- Inherit the core Web Toolkit stuff. --> >>> <inherits name="com.google.gwt.user.User" /> >>> <inherits name="com.google.gwt.http.HTTP" /> >>> <!-- As of GWT 1.5, the User module inherits the I18N module. --> >>> <!-- <inherits name="com.google.gwt.i18n.I18N" /> --> >>> <inherits name="com.google.gwt.inject.Inject" /> >>> <inherits name="com.google.gwt.uibinder.UiBinder" /> >>> >>> <!-- Inherit the default GWT style sheet. --> >>> <inherits name="com.google.gwt.user.theme.standard.Standard" /> >>> >>> <!-- Other module inherits --> >>> <inherits name="com.gwtplatform.mvp.Mvp" /> >>> <inherits name="com.gwtplatform.dispatch.Dispatch" /> >>> >>> <inherits name="com.smartgwt.SmartGwtNoTheme" /> >>> <inherits >>> name="com.smartclient.theme.enterpriseblue.EnterpriseBlue" /> >>> <inherits >>> name="com.smartclient.theme.enterpriseblue.EnterpriseBlueResources" /> >>> >>> <!-- Inherit the gwt-multipage module --> >>> <inherits name="org.gwtmultipage.gwtmultipage" /> >>> >>> <!-- For development a default of `DEBUG` is recommended --> >>> <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" /> >>> <!-- For production most teams prefer to set the default log level >>> to `OFF` --> >>> <!-- <inherits name="com.allen_sauer.gwt.log.gwt-log-OFF" /> --> >>> >>> <!-- Specify the app entry point class. --> >>> <entry-point class="org.gwtmultipage.client.EntrypointDispatcher" /> >>> <!-- <entry-point >>> class="au.com.uptick.serendipity.client.Serendipity" /> --> >>> >>> <!-- Specify the paths for translatable code --> >>> <source path="client" /> >>> <source path="shared" /> >>> >>> <!-- Set user agents, you can only set one target e.g. "gecko1_8" -- >>> > >>> <!-- or all targets "ie6,ie8,gecko1_8,safari,opera" -- >>> > >>> <!-- <set-property name="user.agent" >>> value="ie6,ie8,gecko1_8,safari,opera"/> --> >>> <set-property name="user.agent" value="gecko1_8" /> >>> <!-- <set-property name="user.agent" value="ie8" /> --> >>> >>> <!-- In any real-world application, you will define at least --> >>> <!-- one locale in addition to the default locale. >>> --> >>> <extend-property name="locale" values="en" /> >>> >>> <!-- Add German language support, so remember to inherit "i18n" --> >>> <extend-property name="locale" values="de" /> >>> >>> <define-configuration-property name="gin.ginjector" >>> is-multi-valued="false" /> >>> <set-configuration-property name="gin.ginjector" >>> >>> value="au.com.uptick.serendipity.client.gin.SerendipityGinjector" /> >>> >>> <!-- >>> When developing, you may wish to turn on enhanced web mode >>> stack traces. >>> Note this adds overhead to the resulting JavaScript so you >>> generally >>> don"t want to leave this on for production. >>> --> >>> <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" /> >>> >>> <!-- Loggers Enabled by default --> >>> <set-property name="log_GWTLogger" value="ENABLED" /> >>> >>> <!-- Loggers Disabled by default --> >>> <set-property name="log_WindowLogger" value="DISABLED" /> >>> <set-property name="log_ConsoleLogger" value="DISABLED" /> >>> <set-property name="log_DivLogger" value="DISABLED" /> >>> <set-property name="log_FirebugLogger" value="DISABLED" /> >>> <set-property name="log_SystemLogger" value="DISABLED" /> >>> >>> <!-- >>> Inspired by Apache log4j PatternLayout: >>> >>> http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html >>> --> >>> <set-configuration-property name="log_pattern" value="(%F:%L) %d >>> [%-5p] %m%n" /> >>> >>> </module> >>> >>> -> >>> >>> And, the log4j.xml: >>> >>> -> >>> >>> <?xml version="1.0" encoding="UTF-8" ?> >>> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> >>> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> >>> >>> <!-- Log all messages to the console --> >>> <appender name="consoleAppender" >>> class="org.apache.log4j.ConsoleAppender"> >>> <layout class="org.apache.log4j.PatternLayout"> >>> <param name="ConversionPattern" value="%d{ABSOLUTE} %5p %c{1}:%L >>> - %m%n"/> >>> </layout> >>> </appender> >>> >>> <logger name="org.apache.jasper.compiler.JspRuntimeContext"> >>> <level value="OFF" /> >>> <appender-ref ref="consoleAppender"/> >>> </logger> >>> >>> <!-- Log all SQL DML statements as they are executed -->a >>> <logger name="org.hibernate.SQL"> >>> <level value="DEBUG" /> >>> <appender-ref ref="consoleAppender"/> >>> </logger> >>> >>> <!-- Log all second-level cache activity --> >>> <logger name="org.hibernate.cache"> >>> <level value="WARN" /> >>> <appender-ref ref="consoleAppender"/> >>> </logger> >>> >>> <!-- Log everything --> >>> <logger name="org.hibernate"> >>> <level value="WARN" /> >>> <appender-ref ref="consoleAppender"/> >>> </logger> >>> >>> <!-- >>> <logger name="HandlerLogger"> >>> <level value="DEBUG" /> >>> <appender-ref ref="consoleAppender"/> >>> </logger> >>> --> >>> >>> <root> >>> <!-- <level value="DEBUG" /> --> >>> <priority value="DEBUG" /> >>> <appender-ref ref="consoleAppender" /> >>> </root> >>> >>> </log4j:configuration> >>> >>> -> >>> >>> Have I missed something? >>> >>> N.B. You can download the sample application here -> >>> http://code.google.com/p/crmdipity/ >>> >>> Cheers >>> Rob >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "gwt-log" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/gwt-log?hl=en. >>> >>> >> >> >> -- >> Fred Sauer >> Developer Advocate >> Google Inc. >> 1600 Amphitheatre Parkway >> Mountain View, CA 94043 >> [email protected] >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "gwt-log" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/gwt-log?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "gwt-log" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/gwt-log?hl=en. > -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 [email protected] -- You received this message because you are subscribed to the Google Groups "gwt-log" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/gwt-log?hl=en.
