Good info Dave, yes, thanks.

I have never run into this myself, but I configure my logging just
like the sample I linked in this thread:

private static final Logger LOG = Logger.getLogger(MyClass.class);

So I guess I am hooked into log4j directly (which is fine by me
actually, but might explain why others see this "issue" and I don't).

On Nov 17, 11:30 am, "David Durham, Jr." <[EMAIL PROTECTED]>
wrote:
> On Fri, Nov 14, 2008 at 9:52 AM, Ian P. Christian <[EMAIL PROTECTED]> wrote:
>
>
>
> > 2008/11/5  <[EMAIL PROTECTED]>:
>
> >> I really do not want to put all my logging through GWT, and it seems
> >> pretty weird that I would have to. Can any developers speak up about
> >> whether gwt-maven is gobbling up stdout? How about any maven gurus?
>
> >> I definitely have both log4j and commons-logging dependencies
> >> declared. As I stated before, log4j works properly when I deploy to a
> >> dedicated container outside of the one provided by GWT.
>
> > I'm also suffering with this.  I've copied the log4j.xml exactly as
> > linked before, and I'm not seeing any log output.
>
> I've done some more poking around with this.  It looks like GWT will
> set a system property (presumably for hosted mode only).  Test it with
> this:
>
> System.getProperty("org.apache.commons.logging.Log");
>
> I get: com.gwt...CommonsLogger or something like that.
>
> So if you've got log4j on your classpath, it may not be selected
> because of this system property.  You can explicitly reference log4j
> when creating your logger, but that may not help you with a library
> that's using commons logging.  Looking for a way to override ...
>
> -Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" 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-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to