RE: Understanding how to controlling what data is written to log4j appenders

2016-03-10 Thread Joleen Barker
0, 2016 5:48 PM > To: Tomcat Users List > Subject: Re: Understanding how to controlling what data is written to > log4j appenders > > Thanks for the tips. I have to use the perl program for now to accomplish > the task for the company but l'll continue to work this for the sake

RE: Understanding how to controlling what data is written to log4j appenders

2016-03-10 Thread George Stanchev
inal Message- From: Joleen Barker [mailto:oldenuf2no...@gmail.com] Sent: Thursday, March 10, 2016 5:48 PM To: Tomcat Users List Subject: Re: Understanding how to controlling what data is written to log4j appenders Thanks for the tips. I have to use the perl program for now to accomplish the

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-10 Thread Joleen Barker
Thanks for the tips. I have to use the perl program for now to accomplish the task for the company but l'll continue to work this for the sake of learning and getting this changed through to application. Joleen On Mar 10, 2016 7:42 PM, "Konstantin Kolinko" wrote: > 2016-03-11 2:49 GMT+03:00 Jole

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-10 Thread Konstantin Kolinko
2016-03-11 2:49 GMT+03:00 Joleen Barker : > I wanted to let you know that I really tried at this and feel the changes I > made should be working and it is a matter of the developer hard coding the > log messages to go to the stdout/stderr and became lazy as one of the other > that commented had sta

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-10 Thread Joleen Barker
So are you suggesting to remove the ConsoleAppender from the log4j.properties that the vendor has in the WEB-INF/classes directory? Joleen On Mar 10, 2016 7:17 PM, "Konstantin Kolinko" wrote: > 2016-03-08 18:43 GMT+03:00 Christopher Schultz < > ch...@christopherschultz.net>: > > > > Everything t

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-10 Thread Konstantin Kolinko
2016-03-08 18:43 GMT+03:00 Christopher Schultz : > > Everything that says log4j.logger.[something]=[level], stdout > > Is going to send those log messages to the "stdout" appender, which is > tied to System.out. You'll need to do one of two things to dig > yourself out: > > 1. Use swallowOutput="tr

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-10 Thread Joleen Barker
t; Chris > > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Tuesday, March 08, 2016 11:36 AM > To: Tomcat Users List > Subject: Re: Understanding how to controlling what data is written to > log4j appenders > > [SNIP] > > &

RE: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Cris Berneburg - US
Chris -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, March 08, 2016 11:36 AM To: Tomcat Users List Subject: Re: Understanding how to controlling what data is written to log4j appenders [SNIP] > Yeah, it's a shame it's the

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Joleen Barker
Yes, I agree. I changed the file name in the default tomcat appender to be called tomcat and the one in the log4j file in the classes is called cfcc which makes more sense as that is the web applications context name. I'll keep plugging at it. I really thank you for your help. -Joleen On Tue,

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joleen, On 3/8/16 11:44 AM, Joleen Barker wrote: > Hello Christopher, > > I thank you for your comments. I had changed the swallowOutput=true > back when I changed the default tomcat logging to use the log4j > properties files. I did rename the cfcc

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Joleen Barker
11:16 AM, Cris Berneburg - US wrote: > Chris, > > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Tuesday, March 08, 2016 10:44 AM > To: Tomcat Users List > Subject: Re: Understanding how to controlling what data is written

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Christopher Schultz
: Understanding how to > controlling what data is written to log4j appenders > > [SNIP] > >>> # stdout is set to be a ConsoleAppender. >>> log4j.appender.stdout=org.apache.log4j.ConsoleAppender >> >> This is wha

RE: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Cris Berneburg - US
Chris, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, March 08, 2016 10:44 AM To: Tomcat Users List Subject: Re: Understanding how to controlling what data is written to log4j appenders [SNIP] >> # stdout is set t

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread tomcat
On 08.03.2016 15:15, Joleen Barker wrote: Thank you for the idea. Worst case scenario, that is what I would have to do but I'm hoping someone that may have more experience than myself with be able to see that one thing I am missing. Another pair of eyes is always a good thing. Unfortunately Jo

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joleen, On 3/7/16 12:31 PM, Joleen Barker wrote: > The only thing I can think of to help you understand where I am at > is to post the different log4j.properties config files I have. So I > will post the one I have that went in for my default Tomcat >

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Joleen Barker
- US wrote: > Joleen > > >-Original Message- > >From: Joleen Barker [mailto:oldenuf2no...@gmail.com] > >Sent: Monday, March 07, 2016 3:54 PM > >To: Tomcat Users List > >Subject: Re: Understanding how to controlling what data is written to > log4j ap

RE: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Cris Berneburg - US
Joleen >-Original Message- >From: Joleen Barker [mailto:oldenuf2no...@gmail.com] >Sent: Monday, March 07, 2016 3:54 PM >To: Tomcat Users List >Subject: Re: Understanding how to controlling what data is written to log4j >appenders > >One more thing I tried was

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-07 Thread Joleen Barker
; log4j.appender.RADIUSFile.File=${cfi.trace.dir}/RADIUS-trace.txt >>> log4j.appender.RADIUSFile.Append=true >>> log4j.appender.RADIUSFile.ImmediateFlush=true >>> log4j.appender.RADIUSFile.DatePattern='-'-MM-dd >>> log4j.appender.RADIUSFile.layout=org.

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-07 Thread Joleen Barker
logger.comp.audit=${tradelink.logging.level}, TradeLink >> log4j.logger.ArchiveAgent=${tradelink.logging.level}, TradeLink >> log4j.logger.util=${tradelink.logging.level}, TradeLink >> log4j.logger.lib=${tradelink.logging.level}, TradeLink >> log4j.logger.com.crystaldecisions.rep

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-07 Thread Joleen Barker
ent messages from being duplicated in the appenders the > additivity flag is > # needed to be set. What this does is prevent the child appenders from > also sending their > # messages to the parent appender which is the CFCC log. > log4j.additivity.comp.user=false > log4j.additivi

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-07 Thread Joleen Barker
ris Berneburg - US wrote: > Hi Joleen > > -----Original Message----- > From: Joleen Barker [mailto:oldenuf2no...@gmail.com] > Sent: Thursday, March 03, 2016 11:23 PM > To: Tomcat Users List > Subject: Re: Understanding how to controlling what data is written to > log4j appenders >

RE: Understanding how to controlling what data is written to log4j appenders

2016-03-04 Thread Cris Berneburg - US
Hi Joleen -Original Message- From: Joleen Barker [mailto:oldenuf2no...@gmail.com] Sent: Thursday, March 03, 2016 11:23 PM To: Tomcat Users List Subject: Re: Understanding how to controlling what data is written to log4j appenders > Hello, > > I don't know if I should use a

RE: Understanding how to controlling what data is written to log4j appenders

2016-03-04 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Understanding how to controlling what data is written to log4j > appenders > Can you confirm that the class in question is actually using log4j for > output? There's little that can be done i

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joleen, On 3/3/16 11:23 PM, Joleen Barker wrote: > I don't know if I should use a new thread or not but this is a > continuation of this issue. Replying to this issue is entirely appropriate. > I found that even after my changes there was very littl

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-03 Thread Joleen Barker
Hello, I don't know if I should use a new thread or not but this is a continuation of this issue. I found that even after my changes there was very little being written to my new log and there were still many of the product messages being written to the catalina.out. It has now come to my attentio

Re: Understanding how to controlling what data is written to log4j appenders

2015-12-04 Thread Joleen Barker
Hello Chris, As of now I am not using JULI any longer. I am using the log4j v1.2.17.jar Eventually I will jump in to the log4j v2 users and try my hand at that. Thank you for the clarification on where to go for information. I completely missed seeing the log4j mailing list. Could you send me th

Re: Understanding how to controlling what data is written to log4j appenders

2015-12-04 Thread Christopher Schultz
Joleen, On 12/3/15 11:55 PM, Joleen Barker wrote: > The information you gave me for the additivity was PERFECT! It did exactly > what I was looking for. This also really allowed me to understand what > processes were writing to which log. I have the settings in place in my > test environment now a

Re: Understanding how to controlling what data is written to log4j appenders

2015-12-03 Thread Joleen Barker
Konstantin, The information you gave me for the additivity was PERFECT! It did exactly what I was looking for. This also really allowed me to understand what processes were writing to which log. I have the settings in place in my test environment now and if all goes well the changes will be added

Re: Understanding how to controlling what data is written to log4j appenders

2015-12-03 Thread Joleen Barker
Hello Konstantin, Thank you for pointing out the typo. The line is actually correct in my log4j.properties file and the typo happened when I typed the line in for my settings. I don't know what additivity flag is so I will take a look. I'll let you know how it goes. -Joleen On Thu, Dec 3, 2015

Re: Understanding how to controlling what data is written to log4j appenders

2015-12-03 Thread Konstantin Kolinko
2015-12-04 2:05 GMT+03:00 Joleen Barker : > I want to have more control over what data is written to the various > appenders in the log4j.properties files. I have played around with the > various configurations in the log4j.properties file but I am not > understanding how they are working in order

Understanding how to controlling what data is written to log4j appenders

2015-12-03 Thread Joleen Barker
I want to have more control over what data is written to the various appenders in the log4j.properties files. I have played around with the various configurations in the log4j.properties file but I am not understanding how they are working in order to grasp how to have more control. I don't know if