This is great information to know. Our installations are on AIX boxes
however.
Joleen
On Mar 10, 2016 10:31 PM, "George Stanchev" wrote:
> If you run tomcat via the windows server wrapper, you can
>
> "%TOMCAT_EXE%" //US//%TOMCAT_SERVICE_NAME% --StdOutput
>
If you run tomcat via the windows server wrapper, you can
"%TOMCAT_EXE%" //US//%TOMCAT_SERVICE_NAME% --StdOutput "%TOMCAT_CONSOLE_LOG%"
--StdError "%TOMCAT_CONSOLE_LOG%"
Which will redirect the stderr and stdoout to the corresponding log files
George
-Original Message-
From: Joleen
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 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
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 <
>
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
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 case, but to
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,
-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
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 log I had to read tomcat and it comes up and
captures the starting/stopping details but that's about it.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cris,
On 3/8/16 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
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 to be a
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
-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
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.
-Joleen
On Tue, Mar 8, 2016 at 8:39 AM, 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 to change the parent for
One more thing I tried was to change the parent for the rootlogger from
CFCC to be CONSOLE to attempt to make it to where my log was not the parent
and it still didn't change it. I am getting 0 messages in my cfcc log and
everything still going to catalina.out.
I know I'm so close to figuring
There is a comment that says:
#stdout is set to be a ConsoleAppender
But I changed the "stdout" that was set as the parent to CFCC so I thought
then everything would go to the parent but I don't receive any of the logs.
My cfcc log is just about empty except for the startup details. So I went
I forgot to tell Chuck that the swallowOutput parm is set to true in the
context. When you see the vendor's log4j.properties you will see why there
were so many messages still going to the catalina.out due to them using
stdout.
-Joleen
On Mon, Mar 7, 2016 at 12:31 PM, Joleen Barker
Hello Christopher, Charles, and Cris,
Thank you for all the responses. Thank you for the encouragement. I dusted
off my pants and went back at it. I made changes to the Vendors
log4j.properties file. When I really looked at it I was able to determine
they were things I was familiar with and the
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 new thread or
> 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 if the class is using
>
-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
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
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
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
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
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
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,
29 matches
Mail list logo