thats great thanks for the help. cheers, alan.
On Oct 27, 3:45 pm, Thomas Broyer <[email protected]> wrote: > On 25 oct, 18:29, "al.hicks" <[email protected]> wrote: > > > Hello, > > > I am looking for some help. I want to be able to listen to the GWT.log > > messages that are output in the hosted mode console and use them in > > another application. Currently I am only interested in doing this > > locally. My thoughts are that the simplest way to achieve this is to > > some how write them to a file? Does anyone know how to do this? > > Ideally there would be a way that I can do this would modifying the > > GWT code base. > > You can pass a -logdir argument to DevMode (2.0.0-MS2 onwards) to have > the log duplicated into files. > > For previous versions (1.6 and 1.7), you'd have to inherit HostedMode > and override initializeLogger to create a PrintWriterTreeLogger (have > a look at how JUnitShell does exactly this). > > I seem to remember that with older versions (1.5.x) you could pass a - > treeLogger argument with the classname of your own TreeLogger > implementation; but that's just from memory, it might have only been > possible for GWTCompiler and not GWTShell... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
