RE: [External] Re: Plugging a memory leak - where?

2022-01-10 Thread Scott,Tim
Hi Mark, Thanks for the prompt, clear response. > You need to update the version of Tomcat you are running on. I will advise our deployment team. It's also worth noting that I need not worry about keeping the Tomcat versions up to date in the application source (pom.xml). I will advise our

Re: Application name in log record

2022-01-10 Thread Makarov Alexey
Thank you, Mark! Excuse me, I forgot describe deployment. Formatter implemented as library (log-formatter.jar). I specified classpath to this library in setenv.sh: echo "Setting parameters from $CATALINA_BASE/bin/setenv.sh" echo "___" export

Re: Plugging a memory leak - where?

2022-01-10 Thread Mark Thomas
On 10/01/2022 09:22, Scott,Tim wrote: Hi all, We've started to use software from dependency tracker dot com to analyse dependencies in our web applications and it highlighted the following: "The fix for bug 63362 present in Apache Tomcat 10.1.0-M1 to 10.1.0-M5, 10.0.0-M1 to 10.0.11,

Re: Application name in log record

2022-01-10 Thread Mark Thomas
I went to look at the source code and found something I'd completely forgotten about. Tomcat exposes several properties that you can use in logging.properties. They are: classloader.webappName classloader.hostName classloader.serviceName There are several ways you could make use of those.

Plugging a memory leak - where?

2022-01-10 Thread Scott,Tim
Hi all, We've started to use software from dependency tracker dot com to analyse dependencies in our web applications and it highlighted the following: "The fix for bug 63362 present in Apache Tomcat 10.1.0-M1 to 10.1.0-M5, 10.0.0-M1 to 10.0.11, 9.0.40 to 9.0.53 and 8.5.60 to 8.5.71 introduced

Re: Application name in log record

2022-01-10 Thread Rémy Maucherat
On Mon, Jan 10, 2022 at 11:34 AM Mark Thomas wrote: > > I went to look at the source code and found something I'd completely > forgotten about. Tomcat exposes several properties that you can use in > logging.properties. They are: > > classloader.webappName > classloader.hostName >

Re: Application name in log record

2022-01-10 Thread Makarov Alexey
Thank you, but this properties is not work or something wrong. I get "${classloader.webappName}", "${classloader.hostName}", or "${classloader.serviceName}" in catalina.out when I try to use this properties. But if I try to use "${catalina.base}" all fine (property is translate to

Re: Application name in log record

2022-01-10 Thread Mark Thomas
On 10/01/2022 13:20, Makarov Alexey wrote: Thank you, but this properties is not work or something wrong. I get "${classloader.webappName}", "${classloader.hostName}", or "${classloader.serviceName}" in catalina.out when I try to use this properties. But if I try to use "${catalina.base}" all

Re: Application name in log record

2022-01-10 Thread Makarov Alexey
Thanks, Mark!I'll keep it on mind. 11.01.2022 12:43, Mark Thomas пишет: On 10/01/2022 13:20, Makarov Alexey wrote: Thank you, but this properties is not work or something wrong. I get "${classloader.webappName}", "${classloader.hostName}", or "${classloader.serviceName}" in catalina.out when