For some reason, I'm not getting the class names. I'm using the 3.0.2
version. This is my output:

[INFO] DEBUG gwt-log - [127.0.0.1] 2010-07-09 15:18:25,486 [DEBUG]
Executing ExportType: EXPORT
[INFO] DEBUG gwt-log - [127.0.0.1] 2010-07-09 15:18:25,502 [DEBUG] on
records.... ["/permanent/0003001243/ths:document/
547f9b1b_d6f3_4be9_8b91_1549ad77c175/ths:page/
75d3b482_2ee4_412f_b528_2591f3cc7e07"]
[INFO] DEBUG gwt-log - [127.0.0.1] 2010-07-09 15:18:25,549 [DEBUG]
finished with export.

On Jul 9, 11:41 am, Fred Sauer <[email protected]> wrote:
> Yes dev mode used to be called hosted mode in earlier versions of GWT.
>
> If you're using gwt-log-3.0.2 you should see class names, file names and
> line numbers in hosted mode.
>
>
>
> On Fri, Jul 9, 2010 at 5:25 AM, my600080 <[email protected]> wrote:
> > When you say development mode, do you mean the hosted mode for GWT? If
> > so, I am using hosted mode at this moment. Is there a configuration
> > setting?
>
> > Thanks!
>
> > On Jul 8, 4:39 pm, Fred Sauer <[email protected]> wrote:
> > > Classnames and line number are available in development mode only at the
> > > moment. I'm looking into a way of making them available in production
> > mode
> > > as well.
>
> > > On Thu, Jul 8, 2010 at 12:26 PM, my600080 <[email protected]> wrote:
> > > > Hi,
>
> > > > I have the following entry in my Application.gwt.xml file:
>
> > > >        <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
> > > >        <set-configuration-property name="log_pattern" value="%d [%-5p]
> > %C
> > > > %m
> > > > %n" />
> > > >        <!-- Turn on the `RemoteLogger` -->
> > > >        <set-property name="log_RemoteLogger" value="ENABLED" />
> > > >        <!-- Turn off the divLogger -->
> > > >        <set-property name="log_DivLogger" value="DISABLED" />
>
> > > > And here is my log4j.xml file on the server side:
>
> > > >        <appender name="console"
> > class="org.apache.log4j.ConsoleAppender">
> > > >                <param name="Target" value="System.out" />
> > > >                <layout class="org.apache.log4j.PatternLayout">
> > > >                        <param name="ConversionPattern" value="%-5p
> > %c{1} -
> > > > %m%n" />
> > > >                </layout>
> > > >                <filter class="org.apache.log4j.varia.LevelRangeFilter">
> > > >                        <param name="levelMin" value="DEBUG" />
> > > >                        <param name="levelMax" value="ERROR" />
> > > >                </filter>
> > > >        </appender>
>
> > > >        <logger name="gwt-log" additivity="false">
> > > >                <level value="debug" />
> > > >                <appender-ref ref="console" />
> > > >        </logger>
>
> > > >        <root>
> > > >                <priority value="debug" />
> > > >                <appender-ref ref="console" />
> > > >        </root>
>
> > > > I used the gwt-log in my client side code:
>
> > > > Log.debug("on records.... " + jsonString);
>
> > > > And I got two lines of output. I guess one is from the client side
> > > > Application.gwt.xml and one is from the server side log4j.xml:
>
> > > > [INFO] 2010-07-08 15:18:09,448 [DEBUG] - on records.... ["/permanent/
> > > > 0003001243/ths:document/547f9b1b_d6f3_4be9_8b91_1549ad77c175/ths:page/
> > > > 75d3b482_2ee4_412f_b528_2591f3cc7e07"]
>
> > > > [INFO] DEBUG gwt-log - [127.0.0.1] 2010-07-08 15:18:09,448 [DEBUG] -
> > > > on records.... ["/permanent/0003001243/ths:document/
> > > > 547f9b1b_d6f3_4be9_8b91_1549ad77c175/ths:page/
> > > > 75d3b482_2ee4_412f_b528_2591f3cc7e07"]
>
> > > > But as you can see, neither of them has the class name.
>
> > > > Thanks a lot!
>
> > > > --
> > > > 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]<gwt-log%[email protected]>
> > <gwt-log%[email protected]<gwt-log%[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]<gwt-log%[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.

Reply via email to