I think you'll have to paste it in.  I just need the one that you're using
during unit testing.

-----Original Message-----
From: Adam Zimowski [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 11:36 AM
To: Tapestry users
Subject: Re: log4j appender for
org.apache.hivemind.impl.XmlModuleDescriptorProvider

In WEB-INF/ I have two configuration files. One is read when
application is running or when testing via HtmlUnit, the other is read
when testing with JUnit (I like to see console output when doing JUnit
on POJOs).

Please, see attached

Adam

On 3/31/06, James Carman <[EMAIL PROTECTED]> wrote:
> My JUnit tests log just fine using HiveMind.  What does your configuration
> file look like?
>
>
> -----Original Message-----
> From: Adam Zimowski [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 31, 2006 11:26 AM
> To: Tapestry users
> Subject: Re: log4j appender for
> org.apache.hivemind.impl.XmlModuleDescriptorProvider
>
> Yeah, everything is logging just fine. It's just that when I invoke
> JUnit on objects which are povided by Hivemind, I'm getting this
> annoying warning that the appender for Hivemind is not setup.
>
> I can live with this warning it's just that I kind of like to have
> things perfectly working, you know...
>
> Adam
>
> On 3/31/06, James Carman <[EMAIL PROTECTED]> wrote:
> > Do you have your log4j.properties file on your JUnit test classpath?
Are
> > other things being logged properly?
> >
> > -----Original Message-----
> > From: Adam Zimowski [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 31, 2006 10:51 AM
> > To: Tapestry users
> > Subject: Re: log4j appender for
> > org.apache.hivemind.impl.XmlModuleDescriptorProvider
> >
> > I'm still on old-fashioned property file...
> >
> > So I saw your attachment. How does that configure appender for
> > Hivemind? I don't see any reference to Hivemind in there?
> >
> > Adam
> >
> > On 3/30/06, Diogenes Moreira <[EMAIL PROTECTED]> wrote:
> > > log4j.propeties or log4j.xml are in classpath??
> > >
> > > I'am attaching a example
> > >
> > > saludos.
> > >
> > > 2006/3/30, Adam Zimowski <[EMAIL PROTECTED]>:
> > > > Hi,
> > > >
> > > > My DAOs are provided by Hivemind so I do Registry lookup. When I
test
> > > > them thru JUnit, I get a log4j error about missing Hivemind logger.
Is
> > > > there a standard log4j configuration I should have setup for
Hivemind?
> > > >
> > > > log4j:WARN No appenders could be found for logger
> > > > (org.apache.hivemind.impl.XmlModuleDescriptorProvider).
> > > > log4j:WARN Please initialize the log4j system properly.
> > > >
> > > > Adam
> > > >
> > > >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
[EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > Diogenes A Moreira
> > > Project Manager
> > >
> > > PLEASE NOTE
> > > This message, along with any attachments, may be confidential or
> > > legally privileged.  It is intended only for the named person(s), who
> > > is/are the only authorized recipients. If this message has reached you
> > > in error, kindly destroy it without review and notify the sender
> > > immediately. Thank you for your help.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to