You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Paolo Bacci <pa...@longadata.com> on 2006/11/21 14:16:59 UTC

How to fix it? Warn: No appenders could be found for logger.

Hi ppl,

I've created a log4j.properties to initialize my program's log, but I keep
receiving the warn: "No appenders could be found for logger".

I'm using the org.apache.commons to handle the log4j, instead of using
directly log4j on my application.

Anybody has a clue about how do I fix this program?
Could you send me an example of a .properties to help me with it?


thx,
Paolo

ps: I've been looking for it in the mail list archive, but wasn't able to
find anything. =(
I hope I'm not being annoying.

Re: How to fix it? Warn: No appenders could be found for logger.

Posted by Paolo Bacci <pa...@longadata.com>.
I've solved the problem already.

Thanks anyway,

Paolo.

On 11/21/06, James Stauffer <st...@gmail.com> wrote:
>
> Run your program with -Dlog4j.debug and it will print output about how
> it is configured.  How are you configuring it?
>
> On 11/21/06, Paolo Bacci <pa...@longadata.com> wrote:
> > Hi ppl,
> >
> > I've created a log4j.properties to initialize my program's log, but I
> keep
> > receiving the warn: "No appenders could be found for logger".
> >
> > I'm using the org.apache.commons to handle the log4j, instead of using
> > directly log4j on my application.
> >
> > Anybody has a clue about how do I fix this program?
> > Could you send me an example of a .properties to help me with it?
> >
> >
> > thx,
> > Paolo
> >
> > ps: I've been looking for it in the mail list archive, but wasn't able
> to
> > find anything. =(
> > I hope I'm not being annoying.
> >
> >
>
>
> --
> James Stauffer        http://www.geocities.com/stauffer_james/
> Are you good? Take the test at http://www.livingwaters.com/good/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

Re: How to fix it? Warn: No appenders could be found for logger.

Posted by James Stauffer <st...@gmail.com>.
Run your program with -Dlog4j.debug and it will print output about how
it is configured.  How are you configuring it?

On 11/21/06, Paolo Bacci <pa...@longadata.com> wrote:
> Hi ppl,
>
> I've created a log4j.properties to initialize my program's log, but I keep
> receiving the warn: "No appenders could be found for logger".
>
> I'm using the org.apache.commons to handle the log4j, instead of using
> directly log4j on my application.
>
> Anybody has a clue about how do I fix this program?
> Could you send me an example of a .properties to help me with it?
>
>
> thx,
> Paolo
>
> ps: I've been looking for it in the mail list archive, but wasn't able to
> find anything. =(
> I hope I'm not being annoying.
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org