On Thu, Nov 5, 2009 at 8:52 PM, Vishal <[email protected]> wrote:

>
> Sorry , I should have known that. It seems that when u disable, u
> compile the Logger out .
> The reason I was confused , was that I saw
>
> Module declares a servlet class
> 'com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl', but the
> web.xml has no corresponding declaration; please add the following
> lines to your web.xml:
> <servlet>
>  <servlet-name>remoteLoggerServiceImpl</servlet-name>
>  <servlet-
> class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl</servlet-
> class>
> </servlet>
> <servlet-mapping>
>  <servlet-name>remoteLoggerServiceImpl</servlet-name>
>  <url-pattern>/wellbeing/gwt-log</url-pattern>
> </servlet-mapping>
>
>
> in my hosted mode .
>
> I guess , the above is something I can ignore as it  it an addition
>
> <servlet path="/gwt-log"
> class="com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl"/>
>
> in the gwt-log-impl.gwt.xml, which causes the above warning.
>
>
That's correct. I think I need to implement this issue:
http://code.google.com/p/gwt-log/issues/detail?id=26

And I know this may be a naive question.. We like your impl better
> than the one in incubator, do u :)?
>
>
Thanks. Can I ask what you like better?

Also, anything you like less?


>
>
>
>
>
> On Nov 5, 2:08 pm, Fred Sauer <[email protected]> wrote:
> > You can disable the RemoteLogger (see the GettingStarted wiki) and add
> your
> > own.
> >
> > Fred
> >
> >
> >
> > On Thu, Nov 5, 2009 at 7:50 PM, Vishal <[email protected]>
> wrote:
> >
> > > Thank u,
> > >      By implementing Logger, I got it to work.
> >
> > > Here is what I would like to do.
> >
> > > * Add an injectable LogService.
> > > * The LogService creates the CustomLogger and injects into it , our
> > > ActionService ( RPC ).
> > > * The ActionService will based on the algorithm we define in
> > > CustomLogger , send the Logs across.
> >
> > > In this whole design , we desire to remove RemoteLogger ( the default
> > > RemoteLogger ) from being added to the List of Loggers.
> > > Is that possible?
> > > We of course want to retain all the other Loggers.
> >
> > > On Nov 5, 1:43 pm, Fred Sauer <[email protected]> wrote:
> > > > Note that the gwt-log source contains both client and server versions
> of
> > > the
> > > > same Java classes, which can be confusing.
> >
> > > > On Thu, Nov 5, 2009 at 7:02 PM, Vishal <[email protected]>
> > > wrote:
> >
> > > > > Hi,
> > > > >    We wanted to do the same thing, implement  a
> CustomRemoteLogger..
> > > > > Of course we extended AbstractLogger, yet we have
> >
> > > > > "This class must implement the inherited abstract method
> > > > > AbstractLogger.log(int, String), but cannot override it since it is
> > > > > not visible from OurLogger. Either make the type abstract or make
> the
> > > > > inherited method visible "
> >
> > > > > nskmda, Did u extend AbstractLogger and if u did  get this to
> compile?
> >
> > > > > On Sep 29, 10:37 am, nskmda <[email protected]> wrote:
> > > > > > Thanks, Fred.
> > > > > > I tried it. It works perfectly.
> >
> > > > > > Dmitry
> >
> > > > > > On Sep 28, 5:03 pm, Fred Sauer <[email protected]> wrote:
> >
> > > > > > > That's the right approach. You can include the logger in your
> > > > > onModuleLoad()
> > > > > > > to make it easy.
> > > > > > > Fred
> >
> > > > > > > On Mon, Sep 28, 2009 at 4:03 PM, nskmda <[email protected]>
> wrote:
> >
> > > > > > > > Do I get it right that I need to implement the Logger
> interface
> > > (or
> > > > > > > > extend the AbstractLogger)?
> > > > > > > > Is there any easier way to register my logger declaratively
> in
> > > GWT
> > > > > > > > config instead of registering it at runtime via
> Log.addLogger?
> > > > > > > > Will I have to always use
> > > Log.getLogger(MyLoggerClass.class).debug at
> > > > > > > > runtime?
> >
> > > > > > > > On Sep 28, 3:16 pm, Fred Sauer <[email protected]> wrote:
> > > > > > > > > Sure. Should be easy to do.
> >
> > > > > > > > > On Mon, Sep 28, 2009 at 2:57 PM, nskmda <[email protected]>
> > > wrote:
> >
> > > > > > > > > > Hello, all
> >
> > > > > > > > > > Is it possible to add/register my own implementation of a
> > > logger?
> > > > > > > > > > I would like to send log messages to my own servlet as
> well.
> >
> > > > > > > > > > Thanks,
> > > > > > > > > > Dmitry
> >
> > > > > > > > > --
> > > > > > > > > Fred Sauer
> > > > > > > > > Developer Advocate
> > > > > > > > > Google Inc. 1600 Amphitheatre Parkway
> > > > > > > > > Mountain View, CA 94043
> > > > > > > > > [email protected]
> >
> > > > > > > --
> > > > > > > Fred Sauer
> > > > > > > Developer Advocate
> > > > > > > Google Inc. 1600 Amphitheatre Parkway
> > > > > > > Mountain View, CA 94043
> > > > > > > [email protected]
> >
> > > > --
> > > > Fred Sauer
> > > > Developer Advocate
> > > > Google Inc.1600 Amphitheatre Parkway
> > > > Mountain View, CA 94043
> > > > [email protected]
> >
> > --
> > Fred Sauer
> > Developer Advocate
> > Google Inc.1600 Amphitheatre Parkway
> > Mountain View, CA 94043
> > [email protected]
> >
>


-- 
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