Re: Clarification on

2021-12-21 Thread David Smiley
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

Re: Clarification on

2021-12-21 Thread Ralph Goers
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

RE: Clarification & More help required

2005-07-07 Thread Jacob Kjome
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); >

Re: Clarification & More help required

2005-07-07 Thread James Stauffer
> > > 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

RE: Clarification & More help required

2005-07-06 Thread Sriram Venkatasubramanian
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

RE: Clarification

2005-07-06 Thread Balaji Saranathan
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

RE: Clarification

2005-07-06 Thread Mark Womack
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

Re: Clarification

2005-07-06 Thread James Stauffer
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

RE: Clarification

2005-07-06 Thread Vinodh Srinivasasainagendra
, 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

RE: Clarification

2005-07-06 Thread Bender Heri
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

RE: Clarification

2005-07-06 Thread Balaji Saranathan
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

RE: Clarification

2005-07-06 Thread Vinodh Srinivasasainagendra
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

RE: Clarification

2005-07-06 Thread Balaji Saranathan
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

RE: Clarification

2005-07-06 Thread Schuweiler, Joel J.
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