To log messages on either the client or the server use these methods: Log.debug(...); Log.info(...); etc.
By enabling the remote logger, all client side messages will also be sent to the server and logged there. Make sure to turn on logging (the default is OFF). Typically you'll want to use DEBUG level during development. Just follow the wiki: http://code.google.com/p/gwt-log/wiki/GettingStarted Fred Sauer [EMAIL PROTECTED] On Tue, Oct 7, 2008 at 1:15 AM, Abhi <[EMAIL PROTECTED]> wrote: > > Thanks for your promt reply.....I m new to GWT so have a lot of > queries.......one more query........To use remoteLogger to log message > i m using java util logger at server side which logs messages in a > file. > > I m making change in gwt.xml to enable remote logger > <set-property name="log_RemoteLogger" value="ENABLED" /> > > > in order to log client side messages i need to pass messages from > client side to server. > > I m not getting how to make use of server side logger to log client > side messages. > if u can give some example it would be great help to me. > > On Oct 6, 8:38 am, [EMAIL PROTECTED] wrote: > > In hosted mode you could log to a file on the client. However, in web > > mode there is no file system access unless you utilize a plugin such > > as flash or java. > > > > The remote logger will allow logging in both web and hosted modes. > > > > Fred > > > > On 10/6/08, Abhi <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > Hi fred, > > > I m bit sceptic while using remote logging for my client > > > side messages.Is there any other way to log the client side messages > > > in a file. > > > > > if possible please let me know how can i go ahead? > > > Thanks > > > Abhi > > > > > On Sep 17, 5:17 am, Abhi <[EMAIL PROTECTED]> wrote: > > >> Hi all, > > >> I am using gwt 1.5 and log 2.5.0 for logging .i want to log > > >> the deatils in a file so that i can view ,whenever required?Does Gwt - > > >> log support logging to a file? > > > > >> Thanks in advance!!!!!!!!!!! > > > > -- > > Fred Sauer > > [EMAIL PROTECTED] Hide quoted text - > > > > - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
