Wednesday, October 27, 2010

Re: Cant able to get the logs on server

Hi Pallavi -
You'll need to provide some more information here

- Are you serving the logging servlet? The logging example shows
how to do this. You can use firebug to see if your RPC request is
being sent, and if so, what is happening to it. If the request is
sent, but you're not getting a response, you're probably not serving
the logging servlet.

- What .java file are you referring to? Are you just doing some
test logging on the server? If you are, and you're not seeing server
side logs at all, then you probably need to configure logging on your
server, which is unrelated to GWT.

- Unnur

On Oct 27, 6:01 am, pallavi rawat <er.pallavira...@gmail.com> wrote:
> I am not able to get the logs on my server. The Application server I
> am using to run my GWT Application is WebSphere server v7.0. I am just
> able to get the logs on Development mode window of eclipse but rest of
> the handlers are not working. Below are the configurations i am using
> in my application :
>
>     # In my .gwt.xml file
>     <inherits name="com.google.gwt.logging.Logging"/>
>
>     <set-property name="gwt.logging.enabled" value="TRUE"/>
>     <set-property name="gwt.logging.logLevel" value="ALL" />
>     <set-property name="gwt.logging.systemHandler" value="ENABLED" />
>     <set-property name="gwt.logging.popupHandler" value="DISABLED"/>
>     <set-property name="gwt.logging.consoleHandler" value="ENABLED" /
>
>     <set-property name="gwt.logging.developmentModeHandler"
> value="ENABLED" />
>     <set-property name="gwt.logging.simpleRemoteHandler"
> value="ENABLED" />
>
>     # In .java file
>     Logger logger = Logger.getLogger("NameOfLogger");
>     logger.log(Level.SEVERE, "this message should get logged");
>
> Please suggest me some solution.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment