Thanks so much for responding to me Ralph! (and promptly)
I think this is really useful information that you shared that would be a
relief to many users. Users that only use Log4j2 via Slf4j are mitigated
by this technique. That's a big deal! Most other users using Log4j2
directly would as wel
The system property blocked lookups from being processed in what I would
call “normal” logging - those using the style logger.info(“Hello {}”, name).
However,
if you made a call like logger.printf(“Hello %s”, name) lookups would not be
blocked.
If you obtained your logger with a special Logger
at
>org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.
>java:149)
>
>
>
>I am calling Logger like this in Java Code :
> Logger logger =Logger.getLogger("DAO");
> logger.info("I am inside logger"+this);
>
>
>
> I am calling Logger like this in Java Code :
> Logger logger =Logger.getLogger("DAO");
> logger.info("I am inside logger"+this);
>
> Regards,
> Sriram V
>
>
> -Original Message-
> From: Vinodh S
logger.info("I am inside logger"+this);
Regards,
Sriram V
-Original Message-
From: Vinodh Srinivasasainagendra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 9:59 PM
To: 'Log4J Users List'
Subject: RE: Clarification
Did u try ${some_property_key
Thanks ...that saves my effort on investigating further.
-Original Message-
From: Mark Womack [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 1:35 PM
To: 'Log4J Users List'
Subject: RE: Clarification
This is bug 9150 in the log4j bug db, and will be fixed in th
Wednesday, July 06, 2005 10:07 AM
> To: Log4J Users List; [EMAIL PROTECTED]
> Subject: Re: Clarification
>
> log4j will create the file but not the directories. (I ended up
> creating my own appender that creates the directories also).
>
> On 7/6/05, Balaji Saranathan <[EMA
log4j will create the file but not the directories. (I ended up
creating my own appender that creates the directories also).
On 7/6/05, Balaji Saranathan <[EMAIL PROTECTED]> wrote:
> Can you tell me if log4j creates the log file (if they are not present)
> when using the FileAppenders or is it th
, 2005 11:06 AM
To: 'Log4J Users List'
Subject: RE: Clarification
But isnt this configuring through the code? I want to configure the
FileAppender from the log4j.properties file.
-Original Message-
From: Vinodh Srinivasasainagendra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Jul
Usually I configure by XML file and I am not quite shure, but:
> log4j.appender.framework.File=framework.log=./logs/framework.log
seems to have one "=" to much.
Did it work with your first version
"log4j.appender.framework.File=framework.log" ?
Heri
> -Original Message-
> From: Bala
But isnt this configuring through the code? I want to configure the
FileAppender from the log4j.properties file.
-Original Message-
From: Vinodh Srinivasasainagendra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 12:01 PM
To: 'Log4J Users List'
Subject: RE: Cla
gger.fatal("***");
Note:
Make sure you give the parent dir to the log file properly.
~vinodh
-Original Message-
From: Balaji Saranathan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 10:47 AM
To: 'Log4J Users List'
Subject: RE: Clarification
Tx. I tri
ROTECTED]
Sent: Wednesday, July 06, 2005 11:38 AM
To: 'Log4J Users List'
Subject: RE: Clarification
If can't find the path, have you tried removed the leading ./?
For a path I would do
logs/framework.log assuming that it is contained in the same directory
that your class is runnin
If can't find the path, have you tried removed the leading ./?
For a path I would do
logs/framework.log assuming that it is contained in the same directory that
your class is running from.
-Original Message-
From: Balaji Saranathan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 20
14 matches
Mail list logo