Re: Configuring log format for console output (catalina.out)

2019-05-23 Thread Joan
solution. Joan Missatge de Jäkel, Guido del dia dc., 22 de maig 2019 a les 8:55: > Dear Joan, > > by use of the common scripts, the file catalina.out will contain the > console output (stdout/tderr) of the *JVM* process and -- if not configured > in another way -- of the application

RE: Configuring log format for console output (catalina.out)

2019-05-21 Thread Jäkel , Guido
Dear Joan, by use of the common scripts, the file catalina.out will contain the console output (stdout/tderr) of the *JVM* process and -- if not configured in another way -- of the applications. Therefore, you have to deal with the features of output formatting of current JVMs. Or -- as me

Re: Configuring log format for console output (catalina.out)

2019-05-21 Thread Joan
Thanks a lot for your answer Chris > > I am trying to forward the logs generated on a server to a > > centralized log collector (using rsyslog), one of the features I > > would like to use the ability to group messages by using their > > timestamp as the start of the message. By reading the docume

Re: Configuring log format for console output (catalina.out)

2019-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Joan, On 5/21/19 09:11, Joan wrote: > Hi all, > > I am trying to forward the logs generated on a server to a > centralized log collector (using rsyslog), one of the features I > would like to use the ability to group messages by using their > times

Configuring log format for console output (catalina.out)

2019-05-21 Thread Joan
Hi all, I am trying to forward the logs generated on a server to a centralized log collector (using rsyslog), one of the features I would like to use the ability to group messages by using their timestamp as the start of the message. By reading the documentation at https://tomcat.apache.org/tomcat

Re: Console Output Not Going Anywhere

2009-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Allen, On 8/9/2009 10:25 PM, Allen Williams wrote: > I looked, and somewhere along the line, I made my tag this: > > reloadable="true" > antiResourceLocking="false" privileged="false"> > > As I'm sure you gurus know, the "debug=" a

Re: Console Output Not Going Anywhere

2009-08-09 Thread Allen Williams
traveling next week, so I'll have to do it when I return. Caldarale, Charles R wrote: From: Allen Williams [mailto:anw-d...@infoisland.net] Subject: Re: Console Output Not Going Anywhere Debian 2.6.26, tomcat from the Debian package (apt-get, etc.), starting it with the init.d script.

Re: Console Output Not Going Anywhere

2009-08-09 Thread Ken Bowen
en Williams [mailto:anw-d...@infoisland.net] Subject: Re: Console Output Not Going Anywhere Debian 2.6.26, tomcat from the Debian package (apt-get, etc.), starting it with the init.d script. Just for grins, try downloading the 6.0.20 tarball from tomcat.apache.org, install that along with your w

Re: Console Output Not Going Anywhere

2009-08-09 Thread Allen Williams
That sounds like it might be a bit time consuming. I don't mind trying it, but I'm going to be traveling next week, so I'll have to do it when I return. Caldarale, Charles R wrote: From: Allen Williams [mailto:anw-d...@infoisland.net] Subject: Re: Console Output Not Going A

RE: Console Output Not Going Anywhere

2009-08-09 Thread Caldarale, Charles R
> From: Allen Williams [mailto:anw-d...@infoisland.net] > Subject: Re: Console Output Not Going Anywhere > > Debian 2.6.26, tomcat from the Debian package (apt-get, etc.), starting > it with the init.d script. Just for grins, try downloading the 6.0.20 tarball from tomcat.apach

Re: Console Output Not Going Anywhere

2009-08-09 Thread Allen Williams
if [ -f "$CATALINA_PID" ]; then log_success_msg "$DESC is not running, but pid file exists." exit 1 else log_success_msg "$DESC is not running." exit 3 fi else log_success_msg "$DESC is runnin

RE: Console Output Not Going Anywhere

2009-08-09 Thread Caldarale, Charles R
> From: Allen Williams [mailto:anw-d...@infoisland.net] > Subject: Re: Console Output Not Going Anywhere > > It is the "standard" internal tomcat logging mechanism contained in the > distribution of tomcat 6, based on java.util.logging. 1) What platform (OS) are you runn

Re: Console Output Not Going Anywhere

2009-08-09 Thread Allen Williams
te quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Sat, 8 Aug 2009 18:19:48 -0600 From: devli...@hanik.com To: users@tomcat.apache.org Subject: Re: C

Re: Console Output Not Going Anywhere

2009-08-09 Thread Allen Williams
gging. I did have my on little logging subsystem using System.out and System.err (I know, I know, bad practice, but this app is originally several years old). And, that still doesn't explain where my console goes. If you can only log (or get console output) from servlets, how do you ge

Re: Console Output Not Going Anywhere

2009-08-09 Thread Filip Hanik - Dev Lists
. Date: Sat, 8 Aug 2009 18:19:48 -0600 From: devli...@hanik.com To: users@tomcat.apache.org Subject: Re: Console Output Not Going Anywhere what class is Logger.getLogger(), doesn't look like a tomcat class, so, no, it wont show up in the tomcat configured logs. Also, System.out/

RE: Console Output Not Going Anywhere

2009-08-08 Thread Martin Gainty
tion, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sat, 8 Aug 2009 18:19:48 -0600 > From: devli...@hanik.com > To: users@tomcat.apache.org > Subject: Re: Console Output Not Going Anywhere > > what class is Logger.getLogger(), doesn't

Re: Console Output Not Going Anywhere

2009-08-08 Thread Filip Hanik - Dev Lists
what class is Logger.getLogger(), doesn't look like a tomcat class, so, no, it wont show up in the tomcat configured logs. Also, System.out/err only show up in the logs if you have swallowOutput set AND it happens during a request. ServletContextListener don't happen during servlet requests

Re: Console Output Not Going Anywhere

2009-08-08 Thread Allen Williams
Allen Williams wrote: I've fixed the exceptions that were being thrown and still have this, despite having this in my code: === public class AppInitializer implements ServletContextListener { public void contextInitialized(ServletContext

Re: Console Output Not Going Anywhere

2009-08-08 Thread Allen Williams
Sorry, I should have mentioned that. Yes, I've tried it both ways, multiple times. BTW, is that something new in Tomcat6? I've never seen it before now. Filip Hanik - Dev Lists wrote: did you set swallowOutput="true" in conf/context.xml? Filip On 08/07/2009 07:01 PM, Allen Williams wrote

Re: Console Output Not Going Anywhere

2009-08-07 Thread Filip Hanik - Dev Lists
did you set swallowOutput="true" in conf/context.xml? Filip On 08/07/2009 07:01 PM, Allen Williams wrote: I'm trying to get Tomcat 6 up and working; didn't have this problem on 5. The code: System.err.println does not print to the log files. With this logging.properties: org.apache.catali

Console Output Not Going Anywhere

2009-08-07 Thread Allen Williams
I'm trying to get Tomcat 6 up and working; didn't have this problem on 5. The code: System.err.println does not print to the log files. With this logging.properties: org.apache.catalina.core.ContainerBase.[Catalina].[info-dev].[/infoisland].level = ALL org.apache.catalina.core.ContainerBase.

Re: how to get the console output on ubuntu

2009-06-16 Thread reno . rkcrew
Selon Marcus Better : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > syed shah wrote: > > 1)How to get console output on ubuntu > > If you are running Tomcat with the startup script provided by Ubuntu in > /etc/init.d/tomcat*, you have logs in /var/log/tomcat

Re: how to get the console output on ubuntu

2009-06-15 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 syed shah wrote: > 1)How to get console output on ubuntu If you are running Tomcat with the startup script provided by Ubuntu in /etc/init.d/tomcat*, you have logs in /var/log/tomcat* and /var/log/daemon.log. The latter should contain cons

Re: how to get the console output on ubuntu

2009-06-14 Thread syed shah
Hi,Thanks for the reply, infact i am launching the tomcat exactly the same way, thanks and best regards Fahad On Sun, Jun 14, 2009 at 6:57 PM, André Warnier wrote: > syed shah wrote: > >> Hi, Thanks for the reply, but i am new to ubuntu and the script in there >> doesnt makes much sense to me as

Re: how to get the console output on ubuntu

2009-06-14 Thread André Warnier
syed shah wrote: Hi, Thanks for the reply, but i am new to ubuntu and the script in there doesnt makes much sense to me as to what its doing, would be glad if you or anyone else can throw more light on this thanks and regards Fahad If you want to start Tomcat in a console, forget the system star

Re: how to get the console output on ubuntu

2009-06-14 Thread syed shah
; > Hi, > > > > I have been programming on Windows and its pretty easy to get the console > > output when you start the server from DOS as all println's go there but i > > tried doing > > same on ubuntu (through remote login) and it didnt worked as i get the &g

Re: how to get the console output on ubuntu

2009-06-14 Thread Mark Thomas
syed shah wrote: > Hi, > > I have been programming on Windows and its pretty easy to get the console > output when you start the server from DOS as all println's go there but i > tried doing > same on ubuntu (through remote login) and it didnt worked as i get the bash >

how to get the console output on ubuntu

2009-06-14 Thread syed shah
Hi, I have been programming on Windows and its pretty easy to get the console output when you start the server from DOS as all println's go there but i tried doing same on ubuntu (through remote login) and it didnt worked as i get the bash back after starting tomcat. I tried using eclipse b

Re: Console Output

2009-03-17 Thread Ben Souther
cd into the $CATALINA_HOME/logs directory and type: tail -f * On Tue, 2009-03-17 at 13:41 -0400, Mighty Tornado wrote: > Hi, > I am running Tomcat on Mac OS X. > How can I see output on the console of the command line? > > For example, if I would like to put System.out statements in the code

Console Output

2009-03-17 Thread Mighty Tornado
Hi, I am running Tomcat on Mac OS X. How can I see output on the console of the command line? For example, if I would like to put System.out statements in the code and would like to see them on the console. Thanks,

RE: Console-Output of AbandonedObjectPool

2007-05-31 Thread Propes, Barry L
getting a little off-topic (but on-topic for your other post): don't you have a test-server with the identical environment as the prod-server where you could try to recreate the same race-conditions? cheers gregor - Yes, but I don't have the traffic or re

Re: Console-Output of AbandonedObjectPool

2007-05-31 Thread Gregor Schneider
hi barry, thanks for the offer, but i guess i've found the solution: we're using around 15 different servlets, each making use of it's own datasource belonging to a different connection-pool: so it looks, as if the message always shows up when each pool is created, meaning, you're right with yo

RE: Console-Output of AbandonedObjectPool

2007-05-31 Thread Propes, Barry L
t message is only getting generated once, pending a restart which wipes out the console messages anyway. -Original Message- From: Gregor Schneider [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 11:10 AM To: Tomcat Users List Subject: Re: Console-Output of AbandonedObjectPool hi barr

RE: Console-Output of AbandonedObjectPool

2007-05-31 Thread Propes, Barry L
ist Subject: Re: Console-Output of AbandonedObjectPool hi barry, from my understanding, the output seems to be created every time when the pool needs to create a new physical connection to the database, i.e. you've specified "maxActive=10", only 5 are used & busy, a 6th gets cr

Re: Console-Output of AbandonedObjectPool

2007-05-31 Thread Gregor Schneider
hi barry, from my understanding, the output seems to be created every time when the pool needs to create a new physical connection to the database, i.e. you've specified "maxActive=10", only 5 are used & busy, a 6th gets created due to an additional request and -> voilá, there you go. anyways, s

RE: Console-Output of AbandonedObjectPool

2007-05-31 Thread Propes, Barry L
3:44 AM To: Tomcat Users List Subject: Re: Console-Output of AbandonedObjectPool Unless things changed in the last 1.5 years (when I looked it up last time): DBCP uses System.out.println() and not regular logging for the output of exactly those lines :( Regards, Rainer Gregor Schneider wrote:

Re: Console-Output of AbandonedObjectPool

2007-05-31 Thread Gregor Schneider
Aaargl so that means there's no possibility to get rid of this output? I mean I don't need a possibility to divert it into a log-file, just getting rid of the output would help... Cheers Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B

Re: Console-Output of AbandonedObjectPool

2007-05-31 Thread Rainer Jung
Unless things changed in the last 1.5 years (when I looked it up last time): DBCP uses System.out.println() and not regular logging for the output of exactly those lines :( Regards, Rainer Gregor Schneider wrote: Hi guys, we're using a JDBC-datasource with the following definition in $CATAL

Console-Output of AbandonedObjectPool

2007-05-31 Thread Gregor Schneider
Hi guys, we're using a JDBC-datasource with the following definition in $CATALIN_HOME/conf/Catalina/localhost/IndexCLUE.xml: In catalina.out, we always find the following output: AbandonedObjectPool is used ([EMAIL PROTECTED] e) LogAbandoned: false RemoveAbandoned: true RemoveAbando