Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-30 Thread Joleen Barker
OMG!!! Finally. I feel like I can go back to the bosses with some progress. This is all good news. Also, thanks for the correction on the "lo and behold", I never knew that. I have to laugh at myself. I can change the catalina file name to the name catalina.log, I think you are right and it be

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-30 Thread Joleen Barker
Hi Chris, I will send the log4 details but I wanted to send this information first. The above details for the files remained the same all this time until I decided to login to the software and try to do some work. I had expected the files to roll at midnight each night which I did not see. But,

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-30 Thread Christopher Schultz
Joleen, On 11/30/15 7:32 AM, Joleen Barker wrote: > I will send the log4 details but I wanted to send this information first. > The above details for the files remained the same all this time until I > decided to login to the software and try to do some work. I had expected > the files to roll at

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-30 Thread Christopher Schultz
Joleen, On 11/30/15 11:44 AM, Joleen Barker wrote: > OMG!!! Finally. I feel like I can go back to the bosses with some progress. > This is all good news. Also, thanks for the correction on the "lo and > behold", I never knew that. I have to laugh at myself. Sometimes, this list can be more of a

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-30 Thread Joleen Barker
Chris, Here are my log4j settings. These are the same settings that have been posted on the Tomcat web site for v6, 7, and I think 8 for users, I didn't change anything here as it seemed like it was just supposed to roll at midnight based on the DatePattern configurations. log4j.rootLogger=INFO,

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-26 Thread Christopher Schultz
Joleen, On 11/26/15 12:12 AM, Joleen Barker wrote: > Alas, no luck. This is what I found in my directory: > > -rw-r--r--. root root 30694 Nov 25 22:49 catalina > -rw-r--r--. root root 0 Nov 25 22:49 catalina.out > -rw-r--r--. root root 0 Nov 25 22:49 host-manager >

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-25 Thread Joleen Barker
Sorry. I all of a sudden noticed the swallowOutput="false" in the cfcc.xml I had. I changed this to be true and now it appears most of the messages are being written to the locahost file. I don't see any messages missing. I will leave it run over night and see what happens and report tomorrow.

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-25 Thread Joleen Barker
I changed it back to use the log4j setting as I liked it better and the boss wants the files to rollover at midnight each night. Now when I startup the catalina.out file is empty and the logs appear to be split between the catalina file (not catalina.out) and the localhost file. Some of the

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-25 Thread Joleen Barker
I didn't get too far. For the option b and setting the swallowOutput=true in right place I need to get some clarification. I was looking up more information about the swallowOutput parm so I understood more. In Christopher's comments he spoke about updating the context xml. This is where I am

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-25 Thread Joleen Barker
Thank you for some direction. I'll go ahead and put back the logging as it was from the vendor using the logging.properties file, etc. etc. so as to minimize their lack of support due to me changing a lot in their product. Then I'll go on to try option b. I'll report back with how it goes.

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-25 Thread Joleen Barker
Alas, no luck. This is what I found in my directory: -rw-r--r--. root root 30694 Nov 25 22:49 catalina -rw-r--r--. root root 0 Nov 25 22:49 catalina.out -rw-r--r--. root root 0 Nov 25 22:49 host-manager -rw-r--r--. root root 31909 Nov 25 22:49 localhost -rw-r--r--.

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-24 Thread Christopher Schultz
Joleen, On 11/24/15 4:31 PM, Joleen Barker wrote: > I have setup the logrotate using cron in the past and it was very > successful on the Linux boxes but I could not find an equivalent setup for > AIX. Things seem so much easier on Linux. The company wants a universal > approach so that left that

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-24 Thread Joleen Barker
Thank you so much Christopher for all that information. I will look in to the various options you've presented. I have setup the logrotate using cron in the past and it was very successful on the Linux boxes but I could not find an equivalent setup for AIX. Things seem so much easier on Linux.

Re: Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-20 Thread Christopher Schultz
Joleen, On 11/19/15 3:19 PM, Joleen Barker wrote: > I want to say up front that I am not a developer and know enough to brake > some stuff. lol Lots of "only admins" on this list. Welcome. > I have a software package from a vendor that ships the tomcat web server > with it. Below are my

Tomcat catalina.out log is not rolling using log4j DailyRollingFileAppender

2015-11-19 Thread Joleen Barker
I want to say up front that I am not a developer and know enough to brake some stuff. lol I have a software package from a vendor that ships the tomcat web server with it. Below are my environment details: 1) The tomcat version that is running is v8.0.26.0 2) The OS is a Centos v7 UNIX VM 3)