Sorry, a bit searching revealed: /var/lib/tomcat9/server.xml:
> Am 18.11.2023 um 14:48 schrieb Christoph Kukulies :
>
> I'm running tomcat9 as a backend server and I have configured different
> ports. For debugging purposes I would like to log the port
> a request is being sent through.
>
>
Kevin,
On 4/3/23 12:32, Kevin Huntly wrote:
ok, can you tell me what your thoughts are? I'm always interested in new
things
I would recommend sending an alert to a realtime management system, if
at all possible. There are no guarantees if the JVM experiences some
trouble, but in my experienc
ok, can you tell me what your thoughts are? I'm always interested in new
things
Kevin Huntly
Email: kmhun...@gmail.com
Cell: 716/424-3311
-BEGIN GEEK CODE BLOCK-
Version: 1.0
GCS/IT d+ s a C+
Kevin,
On 4/3/23 12:10, Kevin Huntly wrote:
idk why i add the typeset, but I do everywhere just out of habit. i was
trained that way many many moons ago.
Is there anything else in my setenv that needs work?
That mostly depends upon your environment. The only thing that stuck out
to me was th
idk why i add the typeset, but I do everywhere just out of habit. i was
trained that way many many moons ago.
Is there anything else in my setenv that needs work?
Kevin Huntly
Email: kmhun...@gmail.com
Cell: 716/424-3311
___
Kevin,
On 4/3/23 10:07, Kevin Huntly wrote:
I'm launching with startup.sh and I have a setenv:
https://pastebin.com/PKRgz2y1
>
> typeset JAVA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
-Djava.awt.headless=true";
You don't want this. You want:
typeset CATALINA_OPTS="-Xms4096m -Xmx4096m
Kevin,
On 4/3/23 10:07, Kevin Huntly wrote:
I'm launching with startup.sh and I have a setenv:
bin/startup.sh calls bin/catalina.sh. Have a look at the top few pages
of catalina.sh to see what environment variables can be used to
customize stuff like log file names.
https://pastebin.com/P
I'm launching with startup.sh and I have a setenv:
https://pastebin.com/PKRgz2y1
Kevin Huntly
Email: kmhun...@gmail.com
Cell: 716/424-3311
-BEGIN GEEK CODE BLOCK-
Version: 1.0
GCS/IT d+ s a
Kevin,
On 4/2/23 09:08, Kevin Huntly wrote:
Couple questions:
1. Is there a way to change the default "stdout" to a different name? e.g.
SystemOut.log (and by extension, can syserr be printed to something
SystemErr.log?)
How are you launching Tomcat?
2. When verbose:gc is turned on it logs
On Thu, May 26, 2022 at 11:37 AM Konstantin Kolinko
wrote:
> чт, 26 мая 2022 г. в 18:19, Robert Hicks :
> >
> > We would like to start logging the response location in Tomcat. I am not
> > sure where to look something like that up.
>
> You are not mentioning the version number, but from other thr
чт, 26 мая 2022 г. в 18:19, Robert Hicks :
>
> We would like to start logging the response location in Tomcat. I am not
> sure where to look something like that up.
You are not mentioning the version number, but from other threads I
assume that it is 9.0.x.
Here:
https://tomcat.apache.org/tomcat-
Hello Aquib,
On Mon, Nov 2, 2020 at 10:09 AM Aquib Khan wrote:
>
> Hi,
>
> We have a usecase where we want that our application should indicate when it
> reaches maximum thread limit. Our application is deployed in tomcat. Maximum
> thread limit of tomcat is 200, so If 200 threads are reached,
Am 06.08.20 um 21:36 schrieb Jerry Malcolm:
> How do configure TC to log the activities of the RewriteValve? I added
>
> org.apache.catalina.valves.rewrite.RewriteValve.level = FINE
>
> to logging.properties. But I'm not seeing any output related to
> rewrite. Do I have the logging config wrong
y. Anyone else have a suggestion?
On 2/21/19, Thomas Rohde wrote:
> Hi Chris,
>
> -Ursprüngliche Nachricht-
> Von: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Gesendet: Mittwoch, 20. Februar 2019 16:41
> An: users@tomcat.apache.org
> Betreff: Re: Logging
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Thomas,
On 2/20/19 08:00, Thomas Rohde wrote:
> I've some basic questions regarding the usage of log4j 1.2 in
> Tomcat 8.5.
>
> We are running more than one web application in Tomcat. Each
> application uses log4j via slf4j and ships the log4j.jar
I'm using 7.x still .. I put my log4j file in the classes folder of my web app.
On 2/20/19, Thomas Rohde wrote:
> Hi!
>
> I've some basic questions regarding the usage of log4j 1.2 in Tomcat 8.5.
>
> We are running more than one web application in Tomcat. Each application
> uses log4j via slf4j a
Hi Mirunalini,
Are you sure that the catalina.sh that you execute is actually picking up
from the one that you have downloaded?
Do you have any tomcat installed from other sources, such as from the
centos 7.3?
For a very long period of time, I have never seen Tomcat written as
"jakarta-tomcat" in
Hi,
This is how i guess tomcat starts, and also it uses the startup script with
catalina.sh file.
ps -ef | grep tomcat
root 1357 1 0 11:53 ?00:00:08
/usr/local/thirdparty/java/jdk/bin/java -classpath
:/usr/local/thirdparty/jakarta-tomcat/lib/javax.ws.rs-api-2.0.jar:/usr/local/t
2017-12-08 9:58 GMT+03:00 mirunalini Chandrasekaran :
> Hi All,
>
> I am using Tomcat 7.0.81 on centos 7.3 and using openjdk 1.7.0.141. Tomcat
> was downloaded from http://tomcat.apache.org/
>
> The problem I am seeing recently is manager*.log and localhost*.log files
> are not created. Instead, I
2017-11-01 8:17 GMT+03:00 Utkarsh Dave :
> Hi All,
>
> I am using Tomcat 7.0.81 on centos 7.2 and using openjdk 1.7.0.141.
> The problem I am seeing recently is manager*.log and localhost*.log files
> are not created. Instead, I see the messages that were to be written into,
> manager.log are going
On 01.11.2017 06:17, Utkarsh Dave wrote:
Hi All,
I am using Tomcat 7.0.81 on centos 7.2 and using openjdk 1.7.0.141.
The problem I am seeing recently is manager*.log and localhost*.log files
are not created. Instead, I see the messages that were to be written into,
manager.log are going into Cat
Thanks,
Will explore JSSE options.
On Thu, Mar 9, 2017 at 7:18 PM, Jammy Chen wrote:
> If you are using JSSE which you mentioned in earlier post, you probably can
> only enable debug for all or specially one
> -Djavax.net.debug=ssl:record or -Djavax.net.debug=ssl:handshake - but it
> will log a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Durga,
On 3/9/17 3:34 AM, Durga Srinivasu Karuturi wrote:
> This is one of the requirement from FIPS/CC certification.
Can you provide a reference for this requirement?
- -chris
> On Wed, Mar 8, 2017 at 11:03 PM, Christopher Schultz <
> ch...@ch
If you are using JSSE which you mentioned in earlier post, you probably can
only enable debug for all or specially one
-Djavax.net.debug=ssl:record or -Djavax.net.debug=ssl:handshake - but it
will log all sessions
You could try to register a customized SSL socket factory in JSSE, you may
extend th
Our application meaning on RHEL machine within JVM with embedded tomcat
(with single web-app)
Okay, tomcat may not have this information on handshake failures.
I need to see little higher level for capturing these failures.
Thanks for answers so far.
Thanks,
Durga Srinivasu
On Thu, Mar 9, 2017
On 09.03.2017 09:34, Durga Srinivasu Karuturi wrote:
This is one of the requirement from FIPS/CC certification.
Thanks,
Durga Srinivasu
Durga,
I believe that in your original post, you said :
"We have a requirement in our application to log all TLS session failures."
You should probably hav
This is one of the requirement from FIPS/CC certification.
Thanks,
Durga Srinivasu
On Wed, Mar 8, 2017 at 11:03 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Durga,
>
> On 3/8/17 10:02 AM, Durga Srinivasu Karuturi wrote:
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Durga,
On 3/8/17 10:02 AM, Durga Srinivasu Karuturi wrote:
> We are using JSSE only not APR. Looking for handshake failures.
>
> Yes, using JSSE SSL debug, we are able to get all handshake
> (-Djavax.net.debug=ssl:handshake) logs including success
Chris,
We are using JSSE only not APR. Looking for handshake failures.
Yes, using JSSE SSL debug, we are able to get all handshake
(-Djavax.net.debug=ssl:handshake) logs including success cases. These are
still quite bit expense logs and meant for debug purposes. As you said it
might impact perfo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Durga,
On 3/8/17 9:29 AM, Durga Srinivasu Karuturi wrote:
> We have a requirement in our application to log all TLS session
> failures.
Specifically, what kind of failures? Failed handshakes? Initial or
re-negotiation? Are you using JSSE or APR? If
Yes,
Its possible, using the below log4j configuration.
http://jakarta.apache.org/log4j/";>
--Chandra
-Original Message-
From: Schöke, Karsten [mail
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Karsten,
On 2/14/17 8:51 AM, Schöke, Karsten wrote:
> Hello,
>
> it' possible that all messages in catalina.out also log to syslog?
> I use tomcat7 under Debian Jessie.
I think your best bet is to use log4j as your server logger and use
their Sys
Some more info,
On 06/18/2015 06:00 PM, Frederik Nosi wrote:
Hi Christopher,
On 06/18/2015 05:55 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Frederik,
On 6/17/15 8:10 AM, Frederik Nosi wrote:
It helps only with HTTP though, no HTTPS or at least not easily.
Hi Christopher,
On 06/18/2015 05:55 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Frederik,
On 6/17/15 8:10 AM, Frederik Nosi wrote:
It helps only with HTTP though, no HTTPS or at least not easily.
All you need is the server's TLS key and Wireshark will look
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Milinda,
On 6/17/15 5:10 AM, Milinda Perera wrote:
> I need to log HTTP payload content for debugging purposes.
> Following are my findings:
>
> 1. Using HTTP message content Access Log Valve [1] and Extended
> Access Log Valve [2] But it does not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Frederik,
On 6/17/15 8:10 AM, Frederik Nosi wrote:
> It helps only with HTTP though, no HTTPS or at least not easily.
All you need is the server's TLS key and Wireshark will look directly
at the HTTP conversation. This is a skill worth developing,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 6/17/2015 11:32 AM, André Warnier wrote:
> Just to make sure..
>
> Milinda Perera wrote:
>> Hi all,
>>
>> Thanks for suggestions,
>>
>> Actually I want to log all HTTP / HTTPS requests from client
>> applications to my Tomcat server and the Respo
Just to make sure..
Milinda Perera wrote:
Hi all,
Thanks for suggestions,
Actually I want to log all HTTP / HTTPS requests from client applications
to my Tomcat server and the Response sent back to the client. And logging
requests and payloads are not target specific application running in the
If you have this:
1) Tomcat listening in HTTP, not HTTPS
2) ssh access to the machine
3) administrator access to the machine
and are on Linux (or Unix in general, but my command is linux specific)
do this as root:
tcpdump -nnpi any -s0 -vvv -w /tmp/dump.pcap port 8080
After the request you
Hi all,
Thanks for suggestions,
Actually I want to log all HTTP / HTTPS requests from client applications
to my Tomcat server and the Response sent back to the client. And logging
requests and payloads are not target specific application running in the
Tomcal server, which means all the request t
Frederik Nosi wrote:
It helps only with HTTP though, no HTTPS or at least not easily.
While we are at this, are you trying to debug a SOAP / REST connection
from your application running on Tomcat to another server or a
connection coming from outside to your Tomcat?
On 06/17/2015 11:16 AM,
It helps only with HTTP though, no HTTPS or at least not easily.
While we are at this, are you trying to debug a SOAP / REST connection
from your application running on Tomcat to another server or a
connection coming from outside to your Tomcat?
On 06/17/2015 11:16 AM, Mark Thomas wrote:
On
On 17/06/2015 10:10, Milinda Perera wrote:
> Hi,
>
> I need to log HTTP payload content for debugging purposes.
Use Wireshark. That has the added benefit of not having any unwanted
side-effects on your application.
Mark
-
To u
Thanks Andre!
It got fixed. I have deleted them and restarted.
Thanks again.
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Tuesday, September 09, 2014 11:17 AM
To: Tomcat Users List
Subject: Re: Logging Issue in Tomcat v7.0.0.32
Hi.
Sorry for top-posting, in
Hi.
Sorry for top-posting, in this case it's easier to read.
Bomma, Nithun wrote:
The tomcat-users.xml is an XML file (as its name hints at).
This is a valid XML comment :
This is not a valid XML comment :
#
#
Maybe it has something to do with the problem ?
Doesn't any of the Tomcat l
: RE: Logging Issue in Tomcat v7.0.0.32
Hi
Can you send your tomcat-users.xml.
It has been changed and will not work if you are using the old format.
BRLulseged
> From: nithun.bo...@amtrak.com
> To: users@tomcat.apache.org
> Subject: Logging Issue in Tomcat v7.0.0.32
> Date: Tue, 9 Se
Hi
Can you send your tomcat-users.xml.
It has been changed and will not work if you are using the old format.
BRLulseged
> From: nithun.bo...@amtrak.com
> To: users@tomcat.apache.org
> Subject: Logging Issue in Tomcat v7.0.0.32
> Date: Tue, 9 Sep 2014 14:05:39 +
>
> Hello,
>
> I have tried
We are using Windows version of tomcat on Windows 2008.
-Original Message-
From: Bomma, Nithun
Sent: Tuesday, September 09, 2014 10:06 AM
To: users@tomcat.apache.org
Subject: Logging Issue in Tomcat v7.0.0.32
Hello,
I have tried to login into Manger app using default user name (tomcat/s
Sorry if resurrecting the dead is frowned upon here but I thought I would
just add my resolve to this. Honestly, after writing a lot of code
otherwise, logging was probably the most frustrating.
Tomcat 7.0.42, RHEL 6
1. SL4FJ with Logback works beautifully.
2. I have custom error pages in web.xm
Alec: "That seems like a good solution. Are you able to avoid having a
single giant catalina.out file in $CATALINA_HOME/logs?"
No, we find we can live with that but we try to minimise writes to
stdout etc. From Chris's note it seems like the ideal solution for us
would be
1. server log4j isolat
>> Dale wrote:
>> We found issues with trying to have log4j in catalina/lib.
>>
>> That said, it would be nice to use log4j for tomcat, however we found
>> that the two configurations collided in our slf4j setup.
>You can do this if you put log4j.jar into a server-only ClassLoader.
>That's not c
Chris,
"The examples don't meet your needs exactly? Well, I'm sure we're all
terribly sorry about that."
Heh...Sorry, I was responding to Konstantin's comment and mine crossed over
just before your long and helpful reply.
Thanks, as always,
Alec
On Wed, Dec 4, 2013 at 12:39 PM, Christopher Sc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Dale,
On 12/3/13, 11:01 PM, Dale Ogilvie wrote:
> Currently we use tomcat configured as out-of-the-box for logging
> (no log4j) and log4j.jar and config in the app war file.
>
> We found issues with trying to have log4j in catalina/lib.
>
> That s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Alec,
On 12/4/13, 11:31 AM, Tomcat Random wrote:
> I'd argue that dealing with logging configuration is not newbie
> stuff. This is probably some of the most poorly implemented
> technology in the servlet container.
What about the implementation is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Alec,
On 12/3/13, 1:12 PM, Tomcat Random wrote:
> I'm trying to implement log4j as per the instructions here
> (skipping step 5):
> http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j
>
> Since I'm not using the Manager, I've removed
I'd argue that dealing with logging configuration is not newbie stuff. This
is probably some of the most poorly implemented technology in the servlet
container.
On Tue, Dec 3, 2013 at 3:44 PM, Konstantin Kolinko
wrote:
> 2013/12/3 Tomcat Random :
> > Environment is RHEL6, Tomcat 7.0.42. There is
That seems like a good solution. Are you able to avoid having a single
giant catalina.out file in $CATALINA_HOME/logs?
On Tue, Dec 3, 2013 at 11:01 PM, Dale Ogilvie wrote:
> Currently we use tomcat configured as out-of-the-box for logging (no
> log4j) and log4j.jar and config in the app war file
Currently we use tomcat configured as out-of-the-box for logging (no
log4j) and log4j.jar and config in the app war file.
We found issues with trying to have log4j in catalina/lib.
That said, it would be nice to use log4j for tomcat, however we found
that the two configurations collided in our sl
2013/12/3 Tomcat Random :
> Environment is RHEL6, Tomcat 7.0.42. There is only one webapp.
>
> I'm trying to implement log4j as per the instructions here (skipping step
> 5):
> http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j
>
> Since I'm not using the Manager, I've removed the rel
2013/11/30 Christopher Schultz :
>
> On 11/27/13, 5:00 PM, Tomcat Random wrote:
>
>> "I find java.logging to be... frankly frustrating to configure."
>> Totally agree, I feel like the Tomcat logging.properties file is
>> weirdly clunky.
>
> Yes. That's because out of the box it uses java.util.loggi
Chris, thanks. That's good to know since I just implemented 1.2.17.
On Mon, Dec 2, 2013 at 5:27 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Alec,
>
> On 12/2/13, 3:48 PM, Tomcat Random wrote:
> > Thanks Chris, Are you usi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Alec,
On 12/2/13, 3:48 PM, Tomcat Random wrote:
> Thanks Chris, Are you using log4j 1.x or 2.beta?
I've been using 1.x for quite a long time. I haven't looked much into
the new version. I'd be surprised if it's a mind-blowing upgrade. :)
- -chris
Thanks Chris, Are you using log4j 1.x or 2.beta?
On Fri, Nov 29, 2013 at 6:06 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Alec,
>
> On 11/27/13, 5:00 PM, Tomcat Random wrote:
> > Thanks Dave, I'll take a look at it.
> >
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Alec,
On 11/27/13, 5:00 PM, Tomcat Random wrote:
> Thanks Dave, I'll take a look at it.
>
> Chris, thanks as well. Out of curiosity, do either of you know
> if/how you'd consolidate logging for things like say clustering. I
> have clustering config
Thanks Dave, I'll take a look at it.
Chris, thanks as well. Out of curiosity, do either of you know if/how you'd
consolidate logging for things like say clustering. I have clustering
configured for two physical servers each running an instance of tomcat. I
have logging configured as per the cluste
We chose slf4j with log4j underneath.
1. slf4j has nice optimal syntax:
Log.debug("The logged in user is {} {}",firstName,lastName);
http://www.slf4j.org/faq.html#logging_performance
2. It has bridging apis to route other logging frameworks. If you are
using other libraries which use a different
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Alec,
On 11/27/13, 12:35 PM, Tomcat Random wrote:
> Yes, Yuk indeed.
>
> So just to clarify, you recommend using log4j, and replacing all
> my printStackTrace with log4j specific code. Would that be
> correct?
It's really a matter of personal pref
Yes, Yuk indeed.
So just to clarify, you recommend using log4j, and replacing all my
printStackTrace with log4j specific code. Would that be correct?
Cheers,
Alec
On Wed, Nov 27, 2013 at 12:18 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Alec,
On 11/27/13, 11:45 AM, Tomcat Random wrote:
> I'm running Tomcat 7.0.42 on RHEL. Currently all my exceptions are
> handled with e.printStackTrace() and go to catalina.out, which
> doesn't rotate.
Yuk.
> Could someone be so kind as to recom
Thank you, works perfectly.
On Mon, Aug 26, 2013 at 4:25 PM, Mark Eggers wrote:
> On 8/26/2013 12:29 PM, Tomcat Random wrote:
>
>> What exactly should go in logging.properties to get the most information
>> about clustering/session replication?
>>
>> I see two different logging suggestions, one
On 8/26/2013 12:29 PM, Tomcat Random wrote:
What exactly should go in logging.properties to get the most information
about clustering/session replication?
I see two different logging suggestions, one in the docs and one in the
FAQ. Tried both but couldn't get anymore information that what's ther
2012/11/26 Russ Kepler :
> On Monday, November 26, 2012 01:44:25 PM Christopher Schultz wrote:
>
> so if there doesn't seem to be a general "print the cookies" pattern. I see
> a %S and that seems to be printing
You can print all cookies sent by the client with %{Cookie}i
and new cookies sent b
On Monday, November 26, 2012 12:05:45 PM Russ Kepler wrote:
> On Monday, November 26, 2012 01:44:25 PM Christopher Schultz wrote:
> > On 11/26/12 1:27 PM, Russ Kepler wrote:
> > > I'm running Tomcat 7 with juli logging enabled and so I'm seeing
> > > the standard logfiles. In my access log I'm see
On Monday, November 26, 2012 01:44:25 PM Christopher Schultz wrote:
> On 11/26/12 1:27 PM, Russ Kepler wrote:
> > I'm running Tomcat 7 with juli logging enabled and so I'm seeing
> > the standard logfiles. In my access log I'm seeing the standard
> > entries on each line and I'd like to see the c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Russ,
On 11/26/12 1:27 PM, Russ Kepler wrote:
> I'm running Tomcat 7 with juli logging enabled and so I'm seeing
> the standard logfiles. In my access log I'm seeing the standard
> entries on each line and I'd like to see the cookies being passed
> a
2012/11/9 Christopher Gross
>
> Perhaps
> someone else who has done this can chime in, but I'll keep looking around.
> I think you got me started on the right track.
>
Well, I'm used to extending UserDatabaseRealm class and to configure
Tomcat with it, so I can have more control , by example
Mark,
I already had it down to FINE, but I switched it to FINEST but I still
didn't get the realm..txt file to show up.
Perhaps the control lines (the ones with "MESSAGES" in them) aren't quite
right for realm, but that's how your clustering setup works. Perhaps
someone else who has done this ca
On 11/9/2012 6:04 AM, Christopher Gross wrote:
Hi Mark.
Thanks for the suggestion -- but I'm not getting the realm log file. That
all looks like it should work, maybe there's just a little something that
I'm missing.
-- Chris
On Thu, Nov 8, 2012 at 4:26 PM, Mark Eggers wrote:
On 11/8/2012
Hi Mark.
Thanks for the suggestion -- but I'm not getting the realm log file. That
all looks like it should work, maybe there's just a little something that
I'm missing.
-- Chris
On Thu, Nov 8, 2012 at 4:26 PM, Mark Eggers wrote:
> On 11/8/2012 12:29 PM, Christopher Gross wrote:
>
>> Using T
On 11/8/2012 12:29 PM, Christopher Gross wrote:
Using Tomcat 6.0.36.
Realm:
Is there a way that I can set it up to do user login auditing, so
that I can see when a user logs in, or when they have a failed
attempt, etc? Been trying to google an answer, but I haven't been
finding anything use
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kiran,
On 7/11/12 11:33 PM, Kiran Badi wrote:
> I know this is not a place to learn Java and thats not my
> intention.Its time for me to implement robust logging framework,so
> thought let me ask here as which is light weight and yet can log
> excepti
On 7/12/2012 7:20 AM, Tim Watts wrote:
No offense, but this really isn't a list for teaching Java.
But what the hell, I'll make one "exception":
public class DAOException extends Exception {
public DAOException(String msg) {
super();
}
public
On Thu, 2012-07-12 at 06:35 +0530, Kiran Badi wrote:
> Hi,
>
> I have below code for catching DAO exceptions,
No, it's not. It's code that defines an interface and a poorly
implemented exception type. There's no catching. Anywhere.
> but I feel its not correct
> way to do this,Can some one p
Caldarale, Charles R uttered:
From: Alex Hooper [mailto:ahoo...@bmjgroup.com] Subject: Re: logging
failure with tomcat 6.0.29, jvm 1.6.0_30-b12, ubuntu 10.04.3 LTS
We've not modified it, though, so should be as per dist.
It appears to be as you say. Looking at the stack trace a bit
> From: Alex Hooper [mailto:ahoo...@bmjgroup.com]
> Subject: Re: logging failure with tomcat 6.0.29, jvm 1.6.0_30-b12, ubuntu
> 10.04.3 LTS
> We've not modified it, though, so should be as per dist.
It appears to be as you say. Looking at the stack
Caldarale, Charles R uttered:
From: Alex Hooper [mailto:ahoo...@bmjgroup.com]
Subject: logging failure with tomcat 6.0.29, jvm 1.6.0_30-b12, ubuntu 10.04.3 LTS
With the software noted above
Thanks for providing that.
I get the following when starting tomcat and no logs
other than catalina.
> From: Alex Hooper [mailto:ahoo...@bmjgroup.com]
> Subject: logging failure with tomcat 6.0.29, jvm 1.6.0_30-b12, ubuntu 10.04.3
> LTS
> With the software noted above
Thanks for providing that.
> I get the following when starting tomcat and no logs
> other than catalina.are produced.
> Can'
On 02/18/2012 05:17 PM, Mark Thomas wrote:
On 18/02/2012 21:57, Pae Choi wrote:
Tomcat v7.0.25
CentOS 5.7 32bit
Running the tomcat without any webapp deployed, the system shows about
38 processes(i think)
related to logging. Why that many and what are they logging about?
I see some of logging
On 18/02/2012 21:57, Pae Choi wrote:
> Tomcat v7.0.25
> CentOS 5.7 32bit
>
> Running the tomcat without any webapp deployed, the system shows about
> 38 processes(i think)
> related to logging. Why that many and what are they logging about?
>
> I see some of logging under the "$CATALINA_HOME/logs
2012/2/15 Pid :
> On 14/02/2012 21:49, Marcel Stör wrote:
>> It seems nowadays you need a PHD just to understand Tomcat
>> logging...sigh. In one of my Eclipse/WTP projects Tomcat logs each
>> request (before and after):
>>
>> ...
>> 13.02.2012 20:50:47 org.apache.catalina.core.ApplicationContext l
On 14/02/2012 21:49, Marcel Stör wrote:
> It seems nowadays you need a PHD just to understand Tomcat
> logging...sigh. In one of my Eclipse/WTP projects Tomcat logs each
> request (before and after):
>
> ...
> 13.02.2012 20:50:47 org.apache.catalina.core.ApplicationContext log
> INFO: After reques
2012/2/15 Marcel Stör :
> On 14.02.2012 22:57, Christopher Schultz wrote:
>>>
>>> In one of my Eclipse/WTP projects Tomcat logs each request (before
>>> > and after):
>>> >
>>> > ... 13.02.2012 20:50:47 org.apache.catalina.core.ApplicationContext
>>> > log INFO: After request
>>> > [uri=/demo-w
On 14.02.2012 22:57, Christopher Schultz wrote:
In one of my Eclipse/WTP projects Tomcat logs each request (before
> and after):
>
> ... 13.02.2012 20:50:47 org.apache.catalina.core.ApplicationContext
> log INFO: After request
> [uri=/demo-webmvc-web/scripts/libs/jquery/jquery-1.6.4.min.js?nu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marcel,
On 2/14/12 4:49 PM, Marcel Stör wrote:
> It seems nowadays you need a PHD just to understand Tomcat
> logging...sigh.
Does that mean that I can get an honorary PhD if I understand it?
> In one of my Eclipse/WTP projects Tomcat logs each req
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Simon,
On 12/21/11 2:55 AM, Simon wrote:
> It is not really a hack in log4j configuration to redirect the logs
> in stdout, as it is exactly what does the ConsoleAppender by
> default...
True, log4j supports log-to-console. It's only a hack because o
2011/12/21 Konstantin Kolinko :
> 2011/12/20 Christopher Schultz :
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Simon,
>>
>> On 12/19/11 11:54 AM, Simon wrote:
>>> log4j.appender.file.File=/var/log/webapp.log
>>>
>>> Thus, there is 3 identical webapps logging into the same log file
>>>
2011/12/20 Christopher Schultz :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Simon,
>
> On 12/19/11 11:54 AM, Simon wrote:
>> log4j.appender.file.File=/var/log/webapp.log
>>
>> Thus, there is 3 identical webapps logging into the same log file
>> simultaneously :
>
> It's more likely that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Simon,
On 12/19/11 11:54 AM, Simon wrote:
> log4j.appender.file.File=/var/log/webapp.log
>
> Thus, there is 3 identical webapps logging into the same log file
> simultaneously :
It's more likely that the last one wins: the first 2 logs was probably
Hi,
I will use the variable substitution solution by changing the
log4j.properties file :
log4j.logFileSuffix=...
log4j.appender.file.File=/var/log/webapp-${logSuffix}.log
The value will be overriden by each instances with
-Dlog4j.logFileSuffix=whatever
Thank you for your help !
Regards,
Simon
On Mon, 2011-12-19 at 09:05 -0800, Leon Rosenberg wrote:
> Hello,
>
> you can specify the logoutput as relative path:
> instead of
> log4j.appender.file.File=/var/log/webapp.log
> to
> log4j.appender.file.File=logs/webapp.log
> and link the local file to the desired destination.
>
+1
or if you
1 - 100 of 435 matches
Mail list logo