you missed "logger" between "log4j" and your logger.

log4j.logger.PalmeLogger= debug, stdout, std_logfile

cheers,

Javier

On 1/19/06, Clemens Eisserer <[EMAIL PROTECTED]> wrote:
>  Hi there,
>
> I know for a professional this must be pure newbie-style question,
> however I read the log4j tutorial and can't find the appropriate
> answer :-(
>
> In code I request a logger like this:
> Logger palmeLogger = Logger.getLogger("PalmeLogger");
>
> In the config-file I configure it like this:
> log4j.PalmeLogger=debug, stdout, std_logfile
>
> But "Logger.getLogger("PalmeLogger").isDebugEnabled()" is false.
>
> Whats wrong or what have I missed? The config-file is loaded the right
> way (and the rootLogger properties are honored). I really don't know
> further :-/
>
> Sorry for bothering and thanks in advance, lg Clemens
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Javier Gonzalez Nicolini

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

Reply via email to