RE: Tomcat logging.properties AsyncFileHandler

2024-11-07 Thread Mcalexander, Jon J.
Thank you Chuck! From: Chuck Caldarale Sent: Wednesday, November 6, 2024 6:22 PM To: Tomcat Users List Subject: Re: Tomcat logging.properties AsyncFileHandler > On Nov 6, 2024, at 17: 12, Mcalexander, Jon J. com. invalid> wrote: > > Question kind people, > > Is there ANY

Re: Tomcat logging.properties AsyncFileHandler

2024-11-06 Thread Chuck Caldarale
> On Nov 6, 2024, at 17:12, Mcalexander, Jon J. > wrote: > > Question kind people, > > Is there ANY AsyncFileHandler property that can handle a MaxSize directive to > specify the size of the Catalina.out file for log rotation purposes? I see > that there appears to be a MaxDays, but we woul

Tomcat logging.properties AsyncFileHandler

2024-11-06 Thread Mcalexander, Jon J.
Question kind people, Is there ANY AsyncFileHandler property that can handle a MaxSize directive to specify the size of the Catalina.out file for log rotation purposes? I see that there appears to be a MaxDays, but we would like to rotate based on the size of the log file. Thank you, Dream *

Re: What does the number preceding the catalina.org.apache.juli.AsyncFileHandler in Tomcat's conf/logging.properties mean?

2024-03-14 Thread Vincent Daniel
u know what you are looking for. > > Mark > > > > > On Thu, Mar 14, 2024 at 7:46 PM Mark Thomas wrote: > >> > >> On 14/03/2024 11:36, Vincent Daniel wrote: > >>> Hi, community > >>> > >&

Re: What does the number preceding the catalina.org.apache.juli.AsyncFileHandler in Tomcat's conf/logging.properties mean?

2024-03-14 Thread Mark Thomas
: On 14/03/2024 11:36, Vincent Daniel wrote: Hi, community When I configured Tomcat logs, I found the following configuration in logging.properties 1catalina.org.apache.juli.AsyncFileHandler 2localhost.org.apache.juli.AsyncFileHandler 3manager.org.apache.juli.AsyncFileHandler 4host

Re: What does the number preceding the catalina.org.apache.juli.AsyncFileHandler in Tomcat's conf/logging.properties mean?

2024-03-14 Thread Vincent Daniel
llowing configuration in > > logging.properties > > > > 1catalina.org.apache.juli.AsyncFileHandler > > 2localhost.org.apache.juli.AsyncFileHandler > > 3manager.org.apache.juli.AsyncFileHandler > > 4host-manager.org.apache.juli.AsyncFileHandler > > > > I am not s

Re: What does the number preceding the catalina.org.apache.juli.AsyncFileHandler in Tomcat's conf/logging.properties mean?

2024-03-14 Thread Mark Thomas
On 14/03/2024 11:36, Vincent Daniel wrote: Hi, community When I configured Tomcat logs, I found the following configuration in logging.properties 1catalina.org.apache.juli.AsyncFileHandler 2localhost.org.apache.juli.AsyncFileHandler 3manager.org.apache.juli.AsyncFileHandler 4host

What does the number preceding the catalina.org.apache.juli.AsyncFileHandler in Tomcat's conf/logging.properties mean?

2024-03-14 Thread Vincent Daniel
Hi, community When I configured Tomcat logs, I found the following configuration in logging.properties 1catalina.org.apache.juli.AsyncFileHandler 2localhost.org.apache.juli.AsyncFileHandler 3manager.org.apache.juli.AsyncFileHandler 4host-manager.org.apache.juli.AsyncFileHandler I am not sure

Re: logging.properties vs catalina.properties

2017-03-02 Thread Mark Thomas
On 02/03/17 00:08, John Zhuge wrote: > Hi Tomcat gurus, > > Do you know which file is loaded first? e.g. in 6.0.48. > I guess logging.properties is loaded first, does it mean it should not use > any system property defined in catalina.properties? Correct on bot

logging.properties vs catalina.properties

2017-03-01 Thread John Zhuge
Hi Tomcat gurus, Do you know which file is loaded first? e.g. in 6.0.48. I guess logging.properties is loaded first, does it mean it should not use any system property defined in catalina.properties? Thanks, -- John

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Dan Checkoway
Konstantin, Thanks very much for the tips. VirtualWebappLoader worked perfectly. For the record, here's what worked for me: META-INF/context.xml: Put logging.properties in $TOMCAT_HOME/virtualcp/my-webapp/logging.properties. Works like a charm. Thanks again! Dan On Tue, Oct 11,

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Dan Checkoway : > So... > > 1. Is it currently possible to do what I'm trying to do?  Per-webapp logging > control without using WEB-INF/classes/logging.properties?  I could really > use a working example if this is doable. No it is not possible. What Pid wro

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Dan Checkoway
wrote: > On 11/10/2011 07:28, Dan Checkoway wrote: > > Hello, > > > > I run several webapps under one instance of tomcat (7.0.21 currently, > fwiw), > > and each webapp uses JDK logging and needs to log to its own separate log > > file. I accomplish this by placing

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Pid
On 11/10/2011 07:28, Dan Checkoway wrote: > Hello, > > I run several webapps under one instance of tomcat (7.0.21 currently, fwiw), > and each webapp uses JDK logging and needs to log to its own separate log > file. I accomplish this by placing logging.properties in WEB-INF/cl

How to externalize a webapp's logging.properties?

2011-10-10 Thread Dan Checkoway
Hello, I run several webapps under one instance of tomcat (7.0.21 currently, fwiw), and each webapp uses JDK logging and needs to log to its own separate log file. I accomplish this by placing logging.properties in WEB-INF/classes, and an example of how it's set up is: han

Re: logging.properties and no classdef error when trying to switch to log4j 6.0.18

2011-10-05 Thread Konstantin Kolinko
2011/10/5 jjgtx : > > I am trying to configure log4j logging, but when I remove the > conf/logging.properties file I get the following error in catalina.out and > nothing more. > > Could not find the main class: .  Program will exit. > java.lang.C

logging.properties and no classdef error when trying to switch to log4j 6.0.18

2011-10-05 Thread jjgtx
I am trying to configure log4j logging, but when I remove the conf/logging.properties file I get the following error in catalina.out and nothing more. Could not find the main class: . Program will exit. java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at

Re: Problems with logging.properties

2010-10-20 Thread Edson Carlos Ericksson Richter
Jason Britton escreveu: Just for your sanity, to make sure there are no other logging.properties files in your classpath, change the prefix for your FileHandler to something other than catalina so you can be sure this logging.properties file is the one being used for your logging config. If your

Re: Problems with logging.properties

2010-10-20 Thread Jason Britton
og" >> >> >> (I'm running Tomcat from inside NetBeans, in Windows platform - I have >> also similar configuration in Ubuntu Server 10.10 with Tomcat alone). >> >> >> Edson. >> >> >> Em 19/10/2010 20:43, Jason Britton escreveu: &g

Re: Problems with logging.properties

2010-10-20 Thread Edson Carlos Ericksson Richter
s/somethingelse.2010-10-19.log" (I'm running Tomcat from inside NetBeans, in Windows platform - I have also similar configuration in Ubuntu Server 10.10 with Tomcat alone). Edson. Em 19/10/2010 20:43, Jason Britton escreveu: Just for your sanity, to make sure there are no other lo

Re: Problems with logging.properties

2010-10-19 Thread Edson Carlos Ericksson Richter
10 20:43, Jason Britton escreveu: Just for your sanity, to make sure there are no other logging.properties files in your classpath, change the prefix for your FileHandler to something other than catalina so you can be sure this logging.properties file is the one being used for your logging config.

Re: Problems with logging.properties

2010-10-19 Thread Jason Britton
Just for your sanity, to make sure there are no other logging.properties files in your classpath, change the prefix for your FileHandler to something other than catalina so you can be sure this logging.properties file is the one being used for your logging config. If your prefix remains catalina

Problems with logging.properties

2010-10-19 Thread Edson Carlos Ericksson Richter
Dear all, I've already spent lot's of time trying to make some Spring Framework messages go away from my log, without success. My last configuration is: /** Begin of file **/ handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.F

Re: Tomcat 5.5: java.io.FilePermission read access denied to logging.properties

2010-09-26 Thread Steve Ryder
ay as well. - Original Message - From: "Rainer Jung" To: Sent: Sunday, September 26, 2010 6:50 AM Subject: Re: Tomcat 5.5: java.io.FilePermission read access denied to logging.properties On 15.09.2010 11:02, Pid wrote: On 14/09/2010 23:35, André Warnier wrote: Pid wrote: On 14/

Re: Tomcat 5.5: java.io.FilePermission read access denied to logging.properties

2010-09-26 Thread Rainer Jung
On 15.09.2010 11:02, Pid wrote: On 14/09/2010 23:35, André Warnier wrote: Pid wrote: On 14/09/2010 16:17, Steve Ryder wrote: java.security.AccessControlException: access denied (java.io.FilePermission /home/sryder/JsrSystems.info/ROOT/WEB-INF/classes/logging.properties read) When I first

Re: Tomcat 5.5: java.io.FilePermission read access denied to logging.properties

2010-09-15 Thread Pid
On 14/09/2010 23:35, André Warnier wrote: > Pid wrote: >> On 14/09/2010 16:17, Steve Ryder wrote: >>> java.security.AccessControlException: access denied >>> (java.io.FilePermission >>> /home/sryder/JsrSystems.info/ROOT/WEB-INF/classes/logging.properties >>

Re: Tomcat 5.5: java.io.FilePermission read access denied to logging.properties

2010-09-14 Thread André Warnier
Pid wrote: On 14/09/2010 16:17, Steve Ryder wrote: java.security.AccessControlException: access denied (java.io.FilePermission /home/sryder/JsrSystems.info/ROOT/WEB-INF/classes/logging.properties read) When I first noticed this I added the java.io.FilePermission to catalina.policy under WEB

Re: Tomcat 5.5: java.io.FilePermission read access denied to logging.properties

2010-09-14 Thread Pid
dly. > 1) There is no logging.properties file under any ROOT/WEB-INF/ classes, it > is the security check that is failing. > 2) "permission java.io.FilePermission "*", "read,write"; " was in > catalina.policy.I have been experimenting all da

Re: Tomcat 5.5: java.io.FilePermission read access denied to logging.properties

2010-09-14 Thread Steve Ryder
that, but the error still happens.HELP. 1) There is no logging.properties file under any ROOT/WEB-INF/ classes, it is the security check that is failing. 2) "permission java.io.FilePermission "*", "read,write"; " was in catalina.policy.I have been experi

Re: Tomcat 5.5: java.io.FilePermission read access denied to logging.properties

2010-09-14 Thread Pid
On 14/09/2010 16:17, Steve Ryder wrote: > java.security.AccessControlException: access denied (java.io.FilePermission > /home/sryder/JsrSystems.info/ROOT/WEB-INF/classes/logging.properties read) > > When I first noticed this I added the java.io.FilePermission > to catalina.polic

Re: Tomcat 5.5: java.io.FilePermission read access denied to logging.properties

2010-09-14 Thread Steve Ryder
java.security.AccessControlException: access denied (java.io.FilePermission /home/sryder/JsrSystems.info/ROOT/WEB-INF/classes/logging.properties read) When I first noticed this I added the java.io.FilePermission to catalina.policy under WEB APP PERMISSIONS grant { // Added by JSR 2010-09

RE: logging.properties

2010-04-28 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: logging.properties > > # For example, set the com.xyz.foo logger to only log SEVERE > # messages: > #org.apache.catalina.startup.ContextConfig.level = FINE > #org.apache.catalina.startup.Ho

logging.properties

2010-04-28 Thread André Warnier
Hi. I am no great expert on Tomcat logging, but doesn't the end of the file conf/logging.properties look strange ? # For example, set the com.xyz.foo logger to only log SEVERE # messages: #org.apache.catalina.startup.ContextConfig.level = FINE #org.apache.catalina.startup.HostConfig.

Re: Logging.properties not found

2007-08-19 Thread Rainer Jung
it can't file a config file, it tells us that the shell tried to execute a file named -Djava.util.logging.config.file=/export/home/lakshmi/Tomcat/conf/logging.properties which it couldn't find. BTW: It's not the original shutdown script, so it's not a bug in Tomcat. Regards,

Logging.properties not found

2007-08-18 Thread Lakshmi Venkataraman
: -- BEGIN EXCERPT - MAINCLASS=org.apache.catalina.startup.Bootstrap export MAINCLASS ACTION=stop export ACTION JAVA_OPTS=-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogMana ger -Djava.util.logging.config.file="$CATALINA_BASE/conf/logging.prope

RE: logging.properties and Filter problem

2006-10-24 Thread Ronny Batty
properly. Once again thanks for the assistance. Ronny. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: 24 October 2006 17:20 To: Tomcat Users List Subject: RE: logging.properties and Filter problem > From: Ronny Batty [mailto:[EMAIL PROTECTED] > Subje

RE: logging.properties and Filter problem

2006-10-24 Thread Caldarale, Charles R
> From: Ronny Batty [mailto:[EMAIL PROTECTED] > Subject: RE: logging.properties and Filter problem > > We have several sites happily running on > 5.5.13 on Linux and I would prefer not to > upgrade the server and potentially introduce > different problems, if at all possibl

RE: logging.properties and Filter problem

2006-10-24 Thread Ronny Batty
:[EMAIL PROTECTED] Sent: 24 October 2006 16:49 To: Tomcat Users List Subject: RE: logging.properties and Filter problem > From: Ronny Batty [mailto:[EMAIL PROTECTED] > Subject: logging.properties and Filter problem > > The Filter is initialized and works as expected when using Tomcat

RE: logging.properties and Filter problem

2006-10-24 Thread Caldarale, Charles R
> From: Ronny Batty [mailto:[EMAIL PROTECTED] > Subject: logging.properties and Filter problem > > The Filter is initialized and works as expected when using > Tomcat 5.5.17 on Windows 2K, my deployment on Linux using > Tomcat 5.5.13 does not initialize the Filter It would s

logging.properties and Filter problem

2006-10-24 Thread Ronny Batty
Hi there, I've created a logging.properties file in the WEB-INF/classes directory of one of my web contexts. This file sets the logging level to SEVERE and defines a Filter class which exists within a .jar file in the same web context. The Filter is initialized and works as expected when