Steve, I've removed the offending lines of code and should have a new release out shortly.
Fred On Mon, Oct 20, 2008 at 3:43 AM, Steve <[email protected]>wrote: > > I checked the server side code on svn and it appears that there is no > file handler specified. > > public ServerLogImplJDK14() { > logger = Logger.getLogger("gwt-log"); > logger.setUseParentHandlers(false); > ConsoleHandler consoleHandler = new ConsoleHandler(); > consoleHandler.setLevel(Level.ALL); > logger.addHandler(consoleHandler); > } > > I think that should probably be fixed in the next release > > Thanks, > Steve > > On Oct 20, 11:08 am, Steve <[email protected]> wrote: > > I have a similar problem to Abhi. the messages appear to get logged to > > the console but not the catalina log file (im using tomcat). > > > > my server side messages are getting written to the file though (using > > JDK1.4 logging), just not the ones thrown on my client side that i > > would like to log in the server > > > > This is a clean install of JDK 1.6_06, tomcat 6.0.16. > > > > Any ideas? ive had a look at the logging configuration of tomcat and > > that seems to be correct, although i could be wrong. > > Thanks, > > Steve > > > > On Oct 10, 5:37 am, Abhi <[email protected]> wrote: > > > > > > > > > Thanks fred for your promt replies. > > > > > On Oct 8, 8:34 am, [email protected] wrote: > > > > > > Abhi > > > > > > Where messages are logged on the server depends on the JDK or log4j > > > > configuration on the server. There is no special work done on > > > > RemoteLogger to do anything different. > > > > > > Fred > > > > > > On 10/7/08, Abhi <[email protected]> wrote: > > > > > > > Hi fred thanks for ur help. > > > > > i m logging the client side messages and it is getting dispolayed > > > > > perfectly on console > > > > > Here is the content of gwt.xml for remote logging: > > > > > <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" /> > > > > > <set-property name="log_DivLogger" value="DISABLED" /> > > > > > <set-property name="log_RemoteLogger" value="ENABLED" /> > > > > > <extend-property name="log_level" values="DEBUG,WARN"/> > > > > > > > I m logging the messages as: > > > > > Log.info( "Leaving loadPage method............" ); > > > > > Log.warn( "Leaving loadPage method............" ); > > > > > Log.error( "Leaving loadPage method............" ); > > > > > Log.fatal( "Leaving loadPage method............" ); > > > > > Log.trace( "Leaving loadPage method............" ); > > > > > on client side. > > > > > > > on server side i m using java.util.logging to log the messages to > a > > > > > file. > > > > > But the problem i m getting is the client side messages are not > > > > > getting logged into the file that i m using at server side for > logging > > > > > server side messages. > > > > > > > When client send messages to server side where they get logged? > > > > > Is it to the file that i m using for server side logging.Please > > > > > correct me if my understanding is not right. > > > > > > > if not to the server side file then where exaclty messages are > llogged > > > > > apart from console? > > > > > > > Is there any default location where the messages are logged for > remote > > > > > logging i mean is thr any file wr they will be logged? > > > > > > > On Oct 7, 8:12 am, "Fred Sauer" <[email protected]> wrote: > > > > >> 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 -- Hide quoted text - > > > > > > >> - Show quoted text - > > > > > > -- > > > > Fred Sauer > > > > [email protected] Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text - > > > -- Fred Sauer [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 -~----------~----~----~----~------~----~------~--~---
