Re: stop tomcat's logging in application's log

2005-09-20 Thread Anto Paul
nt: Wednesday, September 21, 2005 11:55 AM > > To: Tomcat Users List > > Subject: Re: stop tomcat's logging in application's log > > > > > > On 9/21/05, rahul <[EMAIL PROTECTED]> wrote: > > > > > > hi, > > > > &

RE: stop tomcat's logging in application's log

2005-09-20 Thread rahul
log4j.jar is in webapps/MyApp/WEB-INF/lib > -Original Message- > From: Anto Paul [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 21, 2005 11:55 AM > To: Tomcat Users List > Subject: Re: stop tomcat's logging in application's log > > > On 9/21/0

Re: stop tomcat's logging in application's log

2005-09-20 Thread Anto Paul
On 9/21/05, rahul <[EMAIL PROTECTED]> wrote: > > hi, > > I am using Log4j in application for logging. > I have placed log4j configuration file(log4j.xml) in my > application's WEB-INF/classes folder. > > But the file in which I am taking all logs is fille

stop tomcat's logging in application's log

2005-09-20 Thread rahul
hi, I am using Log4j in application for logging. I have placed log4j configuration file(log4j.xml) in my application's WEB-INF/classes folder. But the file in which I am taking all logs is filled with tomcat's log along with my application's log. Is there any way I

logging and tomcat

2005-09-20 Thread daniel steel
hi, ours is a simple jsp / bean classes rendered over tomcat. we still still in tomcat 3.xx version, in the process of migrating to tomcat 5 ( which is a long project) and would have a handle to all the calls. so at the moment, i have to log what users are doing and i was thinking a non b

RE: Tomcat5.5 and Logging

2005-09-02 Thread Trond Hersløv
Ouch, sorry! Should have done my homework better. Thanks Trond -Original Message- From: GB Developer [mailto:[EMAIL PROTECTED] Sent: Friday, September 02, 2005 21:24 To: 'Tomcat Users List' Subject: RE: Tomcat5.5 and Logging http://jakarta.apache.org/tomcat/tomc

RE: Tomcat5.5 and Logging

2005-09-02 Thread GB Developer
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html > -Original Message- > From: Trond Hersløv [mailto:[EMAIL PROTECTED] > Sent: Friday, September 02, 2005 2:06 PM > To: Tomcat Users List > Subject: Tomcat5.5 and Logging > > > Hi, > what happend with

Tomcat5.5 and Logging

2005-09-02 Thread Trond Hersløv
Hi, what happend with the Logging component form TC5.0? I used to include a inside to get my logging going. How do I do this under TC5.5 Regards Trond ** This email message has been swept by MIMEsweeper for the presence of

Tomcat 5.5.9 Logging Issue

2005-09-02 Thread A. Alonso Dominguez
Hi there, I've migrated some days ago from Tomcat 4.1.27 to the lastest release: 5.5.9and I've lost all the logging mechanism of the my web applications. The two webapps deployed on my server use log4j as the logging mechanism. I now there are differences in the logging system between

RE: logging tomcat 5.5

2005-08-23 Thread Allistair Crossley
actually you don't *have* to use log4j, since 5.5.8/9 tomcat has shipped with a customised jdk logging configuration (juli) that sets up a localhost log for you out of the box > -Original Message- > From: Alain Gaeremynck [mailto:[EMAIL PROTECTED] > Sent: 23 August 2

Re: logging tomcat 5.5

2005-08-23 Thread Alain Gaeremynck
xt.log. However i rather liked the old ways Is it stil supported? if i put this in my context will it still work? No, it's not supported anymore. You can look at your logging options here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html -- Alain Gaeremynck CT

Re: logging tomcat 5.5

2005-08-23 Thread Remy Maucherat
>prefix="servlet." suffix=".log" timestamp="true" /> > > will it still work? No, it's not supported anymore. You can look at your logging options here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html -- xx

logging tomcat 5.5

2005-08-23 Thread Alain Gaeremynck
I read the doc and found out that in tomcat 5.5 we are suppose to use log 4 j to handle getServletContext.log. However i rather liked the old ways Is it stil supported? if i put this in my context will it still work? -- Alain Gaeremynck CTO Le Groupe Interstructure (514) 374-1110 (51

RE: Logging of illegal requests from Tomcat 5

2005-08-23 Thread Marius Hanganu
PROTECTED] Sent: Monday, August 22, 2005 11:40 PM To: tomcat-user@jakarta.apache.org Subject: Logging of illegal requests from Tomcat 5 Hi, I am trying to log all illegal requests from Tomcat 5. By illegal requests I mean those that have return status code other than 200, i.e.. 404 (Page Not

Logging of illegal requests from Tomcat 5

2005-08-22 Thread Dariusz
Hi, I am trying to log all illegal requests from Tomcat 5. By illegal requests I mean those that have return status code other than 200, i.e.. 404 (Page Not Found) 403 (Forbidden), 408 (Request Timeout). I am using log4j 1.2.9. I display a custom error page for the above status codes and sho

problems w/Tomcat 5.5.9 and VelocityTool project's use of commons-logging

2005-08-19 Thread Nathan Bubna
hey folks, i'm working on the VelocityTools project, and we've run into a bit of an issue with our mutual use of commons-logging. If you read the emails below, you'll see that the combination of Tomcat 5.5.9 and VelocityTools 1.1 (or 1.2-dev) create a nasty little infinite lo

RE: NumberFormatException After Logging In To Admin Webapp

2005-08-12 Thread David Litterine-Kaufman
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Sent: Friday, August 12, 2005 5:52 PM > To: Tomcat Users List > Subject: RE: NumberFormatException After Logging In To Admin Webapp > > > From: David Litterine-Kaufman [mailto:[EMAIL PROTECTED] > > Subject: NumberFormatEx

RE: NumberFormatException After Logging In To Admin Webapp

2005-08-12 Thread Caldarale, Charles R
> From: David Litterine-Kaufman [mailto:[EMAIL PROTECTED] > Subject: NumberFormatException After Logging In To Admin Webapp > > I'm running Tomcat 4.1, sablevm 1.11.3, and struts 1.1 on > Debian Sarge. Have you tried this with a Sun 1.4 JDK or 5.0 JRE? - Chuck TH

NumberFormatException After Logging In To Admin Webapp

2005-08-12 Thread David Litterine-Kaufman
Hi Tomcat Users: I've googled for several days with no luck on this one. I'm not sure if this is rightly a Tomcat question or a Debian question, so I apologize if this is the wrong forum. I'm running Tomcat 4.1, sablevm 1.11.3, and struts 1.1 on Debian Sarge. Sablevm, Tomcat, struts, and the ad

RE: Tomcat 5.5 upgrade + logging problems

2005-08-12 Thread Allistair Crossley
=== Tomcat 5.5.10 Virtual Host example setup with log4j logging per host === I hope this can be of some use to those who are confused

RE: Tomcat 5.5 upgrade + logging problems

2005-08-12 Thread Allistair Crossley
Hi Robert, The fact is that followed precisely the instructions do work. I *almost* guarantee this because I walked through it just last week with a guy on a vanilla Tomcat 5.5.9 install and I deal with Tomcat and logging daily. The question is, what kind of logging do you want, because there

RE: Tomcat 5.5 upgrade + logging problems

2005-08-12 Thread Allistair Crossley
Really, this has been discussed to death on this mailing list. The 5.5 logging page for a start gives you instructions for setting logging up. Also, I have a blog at www.adcworks.com/blog that touches on 5.5 configuration and logging. Allistair. > -Original Message- > From:

Tomcat 5.5 upgrade + logging problems

2005-08-11 Thread Robert Abbate
=true -Djava.endorsed.dirs=/var/tomcat 5/common/endorsed -classpath :/var/tomcat5/bin/bootstrap.jar:/var/tomcat5/bin/commons-logging-api.jar:/us r/java/jre/lib/mysql-connector-java-3.0.15-ga-bin.jar:/var/tomcat5/common/li b/log4j-1.2.8.jar -Dcatalina.base=/var/tomcat5 -Dcatalina.home=/var/tomcat5 -Djava.io.t

Problem with navigating a struts based webapp after logging in

2005-08-04 Thread Sujit Gangadharan
Hi We have a struts based web application running under Tomcat 4.1.12. There is this random issue that happens with certain users. The user logs in using the domain name, say http://www.xyz.com, he gets redirected to https://www.xyz.com. After the user logs in, he gets kicked out back to login

RE: Logging With Tomcat 5.5

2005-08-02 Thread Allistair Crossley
NF/classes/log4j.properties log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost][/banana]=DEBUG, R Allistair. > -Original Message- > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Sent: 02 August 2005 14:49 > To: Tomcat Users List > Subject: RE

RE: Logging With Tomcat 5.5

2005-08-02 Thread Scott Purcell
- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 02, 2005 8:31 AM To: Tomcat Users List Subject: RE: Logging With Tomcat 5.5 Don't confuse "not understanding" with "not sufficient". The instructions do lead to a correct configuration.

RE: Logging With Tomcat 5.5

2005-08-02 Thread Allistair Crossley
Don't confuse "not understanding" with "not sufficient". The instructions do lead to a correct configuration. However, here it is more explicitly. Allistair. Per-webapp logging == 1. Add log4j's jar to both your webapp's WEB-INF/lib folders 2

Logging With Tomcat 5.5

2005-08-02 Thread Scott Purcell
ebapps, or what this is implying. I would like to get all Tomcat messages (errors, etc) and my actual logging all in either one or two files per webapp. Can someone please assist me in this? The readme just doesn't cut it, or I am interpreting it wrongly. Or maybe there is an example s

turning all logging off (Tomcat 4.1.18)

2005-08-01 Thread Kolev, Nik
cript's start argument path to not append to catalina.out but to /dev/null. Besides turning all logging off, am I doing something wrong without realising it? Thanks, Nik - To unsubscribe, e-mail: [EMAIL PROTECTED] For

turning all logging off

2005-07-29 Thread Kolev, Nik
t's start argument path to not append to catalina.out but to /dev/null. Besides turning all logging off, am I doing something wrong without realising it? Thanks, Nik

Howto to turn Tomcat 4.1.x DBCP logging on ?

2005-07-06 Thread Bertrand Renuart
Hello, I'm running Tomcat 4.1.x and would like to get some log info about DBCP. Does someone know how I could turn DBCP's logging on ? Thx /bertrand

Re: Logging (Log4J) with Tomcat 4.1.x

2005-07-05 Thread Daniel Fanjul
e.Then u can > >>debug from there... > >> > >>HTH, > >>Anoop > >> > >>On 7/4/05, Peter Verhoye <[EMAIL PROTECTED]> wrote: > >> > >>>Hi all, > >>> > >>>I must be getting stupid or so but the lo

Re: Logging (Log4J) with Tomcat 4.1.x

2005-07-04 Thread Peter Verhoye
er Try and change the appender to be ConsoleAppender (please check the name) - see if the output displays on the tomcat console.Then u can debug from there... HTH, Anoop On 7/4/05, Peter Verhoye <[EMAIL PROTECTED]> wrote: Hi all, I must be getting stupid or so but the logging in my we

Re: Logging (Log4J) with Tomcat 4.1.x

2005-07-04 Thread devisch . w
TECTED] cc: 04/07/2005 16:54 Subject: Re: Logging (Log4J) with Tomcat 4.1.x Please r

Re: Logging (Log4J) with Tomcat 4.1.x

2005-07-04 Thread Daniel Fanjul
put displays on the tomcat console.Then u can > debug from there... > > HTH, > Anoop > > On 7/4/05, Peter Verhoye <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I must be getting stupid or so but the logging in my webapp doesn't work > > anymore. > >

Re: Logging (Log4J) with Tomcat 4.1.x

2005-07-04 Thread Anoop kumar V
t; Hi all, > > I must be getting stupid or so but the logging in my webapp doesn't work > anymore. > > I've the log4j.properties file in WEB-INF/classes > log4j.jar is in WEB-INF/lib > > My properties are: > # > # Configures Log4j as the Tomcat system logger &

Logging (Log4J) with Tomcat 4.1.x

2005-07-04 Thread Peter Verhoye
Hi all, I must be getting stupid or so but the logging in my webapp doesn't work anymore. I've the log4j.properties file in WEB-INF/classes log4j.jar is in WEB-INF/lib My properties are: # # Configures Log4j as the Tomcat system logger # # # Configure the logger to output

mod_jk 1.2.13 logging - bug in mod_jk?

2005-06-15 Thread Ryszard Lach
, in every virtualhost section logging defined by: JkLogFile /var/log/apache/mod_jk.log JkLogLevel info JkRequestLogFormat "%w %T %b %V %p %U" I was using mod_jk 1.2.6 before and mod_jk.log looked fine. This strange behaviour I'm observing with 1.2.13 and 1.2.10. Version 1.2.8 g

mod_jk and logging

2005-06-10 Thread Shiva Paranandi
Hi, We have the apache and tomcat integrated together in our environment. We use tomcat 4.1.20 and Apache 2.0. In our apache logs we keep seeing this error. ERROR: can't receive the response message from tomcat, network problems or tomcat is down. err=-1 We certainly know that the tomcat server w

Re: Logging Server Responses

2005-06-09 Thread Mario Ivankovits
And - I think - partially the time taken to send back the response. Its the time for Servlet.service(...) to be processed. [Which includes any middleware/application server and database processings] Is the time recorded (using %D) includes time taken for middleware/application server and databas

Re: Logging Server Responses

2005-06-09 Thread Tim Funk
Its the time for Servlet.service(...) to be processed. [Which includes any middleware/application server and database processings] -Tim TK wrote: Is the time recorded (using %D) includes time taken for middleware/application server and database processings? On 6/7/05, Tim Funk <[EMAIL PROTEC

Re: Logging Server Responses

2005-06-09 Thread TK
Is the time recorded (using %D) includes time taken for middleware/application server and database processings? On 6/7/05, Tim Funk <[EMAIL PROTECTED]> wrote: > See > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html > > In particula

Re: Logging Server Responses

2005-06-07 Thread Tim Funk
See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html In particular: %D - Time taken to process the request, in millis %T - Time taken to process the request, in seconds Otherwise use a filter and rely on: %{xxx}r -Tim TK wrote:

Logging Server Responses

2005-06-07 Thread TK
Hi, I'm looking for ways to log server (Tomcat) responses so that I could figure out the time taken (in ms) for Tomcat to process a client request. The information I need to record include: 1. Request ID (e.g. client IP address and object requested), 2. Date and time (in ms) the request is receive

Re: AW: Logging the HTTP headers

2005-06-03 Thread cristi
thank you all of you. cristi You can also just watch these on the fly with browser plug-ins: IE: google for ieHTTPHeaders Mozilla/FireFox: http://livehttpheaders.mozdev.org/index.html Hello all Is there any posibility of logging the HTTP headers ? Thx. Cristi

Re: Logging the HTTP headers

2005-06-03 Thread Markus Schönhaber
Am Freitag, 3. Juni 2005 11:46 schrieb Anto Paul: > On 6/3/05, Markus Schönhaber <[EMAIL PROTECTED]> wrote: > > Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi: > > > Hello all > > > > > > Is there any posibility of logging the HTTP headers ? > >

Re: AW: Logging the HTTP headers

2005-06-03 Thread Jon Wingfield
them again? Bernhard -Ursprüngliche Nachricht- Von: cristi [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 2. Juni 2005 10:04 An: Tomcat Users List Betreff: Logging the HTTP headers Hello all Is there any posibility of logging the HTTP headers ? Thx. Cristi

Re: Logging the HTTP headers

2005-06-03 Thread Anto Paul
On 6/3/05, Markus Schönhaber <[EMAIL PROTECTED]> wrote: > Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi: > > Hello all > > > > Is there any posibility of logging the HTTP headers ? > > http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html#Request

Re: Logging the HTTP headers

2005-06-03 Thread Markus Schönhaber
Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi: > Hello all > > Is there any posibility of logging the HTTP headers ? http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html#Request%20Dumper%20Valve Rega

AW: Logging the HTTP headers

2005-06-03 Thread Bernhard Slominski
Hi Cristi, they are in the Apache Logfile anyway, why do you want to log them again? Bernhard > -Ursprüngliche Nachricht- > Von: cristi [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 2. Juni 2005 10:04 > An: Tomcat Users List > Betreff: Logging the HTTP headers &g

Logging the HTTP headers

2005-06-03 Thread cristi
Hello all Is there any posibility of logging the HTTP headers ? Thx. Cristi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Repeated logging problem on 5.5

2005-06-02 Thread Steve Kirk
I have a double-logging problem, by which I mean that some of my log messages get logged to two logfiles. I have only one logfile configured using java.util.logging, but in some cases, the same log message gets logged to the TC stdout log as well, which I don't want. It's not the

RE: Logging into rational database....

2005-05-27 Thread Serlet Jean-Claude
nvoyé : vendredi 27 mai 2005 13:14 À : tomcat-user@jakarta.apache.org Objet : Logging into rational database Hallo, I have sent this question yesterday but nobody responded. It's a short question so please send me some information. Is it possible to configure tomcat to log the access

Re: Logging into rational database....

2005-05-27 Thread Anto Paul
On 5/27/05, David <[EMAIL PROTECTED]> wrote: > Hallo, > > > > I have sent this question yesterday but nobody responded. It's a short > question so please send me some information. > > > > Is it possible to configure tomcat to log the access log into a rational > database? Is there an existing

RE: Logging into rational database....

2005-05-27 Thread Steve Kirk
I think there is a DBCP logger, but this is for the Java code logging statements, rather than for the access log AFAIK. Can't remember where I read this. Probably on the TC site, try starting here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html > -Original Message

AW: Logging into rational database....

2005-05-27 Thread David
That's all I wanted to know. Thanks David -Ursprüngliche Nachricht- Von: Tim Funk [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. Mai 2005 13:30 An: Tomcat Users List Betreff: Re: Logging into rational database IIRC - there is a JDBCAccessLogValve - You may need to chec

Re: Logging into rational database....

2005-05-27 Thread Tim Funk
IIRC - there is a JDBCAccessLogValve - You may need to check the javadocs on its use. -Tim David wrote: Hallo, I have sent this question yesterday but nobody responded. It's a short question so please send me some information. Is it possible to configure tomcat to log the access log

RE: Help with reloading a servlet for log4j logging.

2005-05-26 Thread Subhrajyoti Moitra
It worked Thanks a lot Mariano! -Original Message- From: Mariano [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 12:23 PM To: 'Tomcat Users List' Subject: RE: Help with reloading a servlet for log4j logging. You must use PropertyConfigurator.configureAndWatch(file

Logging to two logfiles by classes instantiated by init

2005-05-26 Thread Steve Kirk
I have always used 2 ways of logging. Mainly I use java.util.logging classes, including a custom Formatter that I wrote myself. I do not use log4j. When my webapp first starts, the init() method of my own custom Invoker servlet loads the config for my main logging code is loaded from web.xml

RE: Help with reloading a servlet for log4j logging.

2005-05-25 Thread Mariano
logging. Hi, I am initializing Log4J system using an init servlet, which is loaded on start-up (servlet name is Log4JInitServlet). In web.xml I am pointing to the log4j.properties file using the tag. Problem Now suppose I change some properties in log4j.properties file. (change the

Help with reloading a servlet for log4j logging.

2005-05-25 Thread Subhrajyoti Moitra
entire webcontext using http://localhost/manager?reload=myLog4JApp. I don't want to restart tomcat to restart the logging system. Can this be done in tomcat? I am using tomcat 4.x version, on win32/linux systems. Thanks a lot in advance, Subhro.

Re: confused about simple logging

2005-05-23 Thread Rhino
- Original Message - From: "Jim Henderson" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, May 23, 2005 2:01 PM Subject: RE: confused about simple logging > > If I write to stdout where does that go? > > System.stdout.println(&quo

RE: confused about simple logging

2005-05-23 Thread Jim Henderson
GOOD IDEA! I'll do that! (When this is done, I should have no logging at all.) -Original Message- From: Steve Kirk [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 2:23 PM To: 'Tomcat Users List' Subject: RE: confused about simple logging If you really reach your

Re: confused about simple logging

2005-05-23 Thread Hassan Schroeder
t the seems to be ignored unless it is in $CATALINA_HOME/conf/server.xml I'm set now, but if anybody has information on per-context access logging it'd sure help me troubleshoot. I just took the Valve entry from a Host in my server.xml, stuck it inside a ROOT.xml file changing

RE: confused about simple logging

2005-05-23 Thread Steve Kirk
Sorry can't help you there. I was where you are now a year or more ago, "fancy logging frameworks - too much hassle to learn for the simple logs that I want". But I soon realised that it was more work, and quite a bit more ugly, trying to do your own thing. I'd say bite th

RE: confused about simple logging

2005-05-23 Thread Jim Henderson
Sent: Monday, May 23, 2005 1:46 PM To: 'Tomcat Users List' Subject: RE: confused about simple logging Not sure, ut I think all the output streams are diverted to that file. It's probably configurable. Don't know full detail to be honest. Best wasy is try it and see.

Re: confused about simple logging

2005-05-23 Thread Lane
ular. > > OK I'll take a quick stab and see if this gets you anywhere in the right > direction. > > You mention two distinct types of logging. The 1st is the "hit" logging > which is very similar to what you would get from apache httpd. This simply > logs each inc

RE: confused about simple logging

2005-05-23 Thread Steve Kirk
19:02 > To: Tomcat Users List > Subject: RE: confused about simple logging > > > > If I write to stdout where does that go? > > System.stdout.println("Where does this get printed to?"); > > I assume C:/tomcat.../log/stdout? > > -Original Message

RE: confused about simple logging

2005-05-23 Thread Jim Henderson
: RE: confused about simple logging Your confusion possibly arises because there are at least 2 types of logger that you might mean, and 3 main choices for one of those at the moment, although one of those 3 is deprecated and a second is probably becoming less popular. OK I'll take a quick stab

RE: confused about simple logging

2005-05-23 Thread Steve Kirk
re in the right direction. You mention two distinct types of logging. The 1st is the "hit" logging which is very similar to what you would get from apache httpd. This simply logs each incoming request. This is achieved by adding a to your %catalina_home%\conf\server.xml - you can embe

Re: confused about simple logging

2005-05-23 Thread Lane
On Monday 23 May 2005 12:01, Caldarale, Charles R wrote: > > From: Lane [mailto:[EMAIL PROTECTED] > > Subject: confused about simple logging > > > > where on earth will a "hit" be recorded when I navigate to > > http://localhost/helloworld/index.jsp ?

RE: confused about simple logging

2005-05-23 Thread Caldarale, Charles R
> From: Lane [mailto:[EMAIL PROTECTED] > Subject: confused about simple logging > > where on earth will a "hit" be recorded when I navigate to > http://localhost/helloworld/index.jsp ? See if this is what you want: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/co

confused about simple logging

2005-05-23 Thread Lane
Hello. I'm a bit confused about simple logging on tomcat 5.0.  I've read much of the FAQ at http://jakarta.apache.org/tomcat/faq/logging.html#builtIn but that doesn't seem to address what I'm looking for, which is just routine mundane daily activity. For instance, if I

logging 8443 ssl

2005-05-09 Thread Ben Kim
Tomcat 5.0.28, Fedora Core 1 Can I have a few recommendations about adding logs to port 8443, ssl? I have a problem with SSL not responding. (http works but https does not respond after some time.) Regards, Ben Kim Developer College of Education Texas A&M University

logging problem (bug?)

2005-04-28 Thread matt . pierce
I am running tomcat 5.5 on a java 1.5 vm. I want to turn tomcat logging (via java.util logging) up for debugging but if I set everything to FINEST there is so much logging that It takes far too much time to start up. I am trying to trim down some of the excess logging to make this more

Logging in servlet/jsp not working via java.uil.logging.Logger.global - BUG?

2005-04-25 Thread Eric Raymond
If you have a servlet/jsp which uses java.util.logging. Logger.global and use the global logger, the output seems to go nowhere. For example the following jsp page only logs "printed". <% java.util.logging.Logger.global.severe("not printed"); java.util.logging.Logger.getLogger("foo").severe("

logging per context

2005-04-22 Thread Scott Purcell
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html Hello, I have just read this document about tomcat 5.5 ability to use logger. >From the example there show putting the log4j.properties into the common/classes folder. But doing this of course, puts all logging here. I rea

Logging setup in Embedded mode

2005-04-20 Thread sandeep arshanapally
Hi, Has anyone tried setting up tomcat logging using log4j or java logging when running tomcat 5.5.9 in embedded mode? In tomcat 4.1, I used FileLogger but this has changed in 5.5.9. Any help would be appreciated... Thanks, Sandeep

RE: JULI and logging

2005-04-15 Thread Tran Hung-Phu-r50825
Yes, rename the tomcat-juli.jar file disable it. -Original Message- From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 2:34 PM To: Tomcat Users List Subject: Re: JULI and logging I haven't tried it yet, but, I noticed that catalina.sh/bat, looks

Re: JULI and logging

2005-04-14 Thread Remy Maucherat
ogging.config.file property if you passed it in as a system > property. It does not ignore it, but virtually no logging will go to the root logger. -- x Rémy Maucherat Developer & Consultant JBoss Group (Europe) SàRL

Re: JULI and logging

2005-04-14 Thread Jonathan Eric Miller
passed it in as a system property. handlers = java.util.logging.ConsoleHandler java.util.logging.ConsoleHandler.level = ALL Jon - Original Message - From: "Tran Hung-Phu-r50825" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Thursday, April 14, 200

JULI and logging

2005-04-14 Thread Tran Hung-Phu-r50825
For tomcat 5.5.9. the default setting logs to both Catalina.out and Catalina.-mm-dd.log files My question are: 1) how to channel all startup messages to one file? 2) how to disable JULI (on by default)? thanks - To unsub

RE: clean start. Logging in tomcat 559

2005-04-13 Thread Pawson, David
Now I have logging working. Using log4j-1.2.9 My application is 'hub' put the properties file named log4j.properties in tc's classpath (I use webapps/hub/WEB-INF/classes ) put the log4j-1.2.9.jar into webapps/hub/WEB-INF/lib Init as follows: //jakarta log4j import org.apache.

Re: logging to seperate log file per war file

2005-04-12 Thread Darek Czarkowski
do you have console appender included in your log4j config file? comment it out. On Mon, 2005-04-11 at 20:12, quentin.compson wrote: > is this possible using context.xml or some other way? im using log4j but some > output still goes to stdout (e.g System.out.println()). > > thx > > > -

Re: logging to seperate log file per war file

2005-04-12 Thread Jonathan Eric Miller
mcat 5.5.9 they fixed up java.util.logging so that it can have different log files if that's any consolation. I guess the best solution is to simply using the logging APIs throughout and not use System.out for anything. Jon - Original Message - From: "quentin.compson" <[EM

logging to seperate log file per war file

2005-04-11 Thread quentin . compson
is this possible using context.xml or some other way? im using log4j but some output still goes to stdout (e.g System.out.println()). thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Logging assistance.

2005-04-11 Thread Scott Purcell
Hello, I am trying to get the logging to work for a webapp I am working on. I am using Tomcat 5.5.7 and I am here: http://localhost/tomcat-docs/logging.html I followed the instructions but do not get what I assume is proper behavior. 1) created the "log4j.properties" file and pl

Documentation Change Recommendation for Logging

2005-03-21 Thread George Sexton
For the page: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html For the sample log4j.properties file, I would recommend changing: log4j.appender.R.File=${catalina.home}/logs/tomcat.log To log4j.appender.R.File=${catalina.base}/logs/tomcat.log George Sexton MH Software, Inc. http:

Re: Logging in Tomcat 5.5

2005-03-18 Thread Jess Holle
ib, I'm using my own static/classloader-based LoggerRepository, and this keeps Tomcat's logs using their own LoggerRepository and a separate logging configuration. I'm still not to where I want to be with this, but it's a far cry from the out-of-the-box mess that occurs with l

Re: Logging in Tomcat 5.5

2005-03-17 Thread Simon Kitching
f you are talking about messages logged by code within your webapp, is it using the log4j API or the commons-logging API? Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Logging in Tomcat 5.5

2005-03-17 Thread Joy Kenneth Harry
Hi, I have a webapp in tomcat. I am using a separate Log4j.xml for it, in its WEB-INF classes folder. I've also put a Log4j.xml in TOMCAT_HOME/ common/classes and set it to false so that I do not get the general Tomcat logs. But even then my project logs are getting mixed with the TOMCAT logs. I

Web apps vs. Logging vs. Tomcat

2005-03-17 Thread Jess Holle
I have been trying to get really serious about log4j in web apps. I note that Tomcat (thanks to commons-logging) uses java.util.logging *except* for loggers created while my web app's classloader is the current contextual classloader -- at which point it suddenly uses log4j (since my web app

Logging in Tomcat 5.5

2005-03-17 Thread Joy Kenneth Harry
Hi, I have a webapp in tomcat. I am using a separate Log4j.xml for it, in its WEB-INF classes folder. I've also put a Log4j.xml in TOMCAT_HOME/ common/classes and set it to false so that I do not get the general Tomcat logs. But even then my project logs are getting mixed with the TOMCAT logs. Is

How to Switch of logging in Tomcat 5.5

2005-03-17 Thread Joy Kenneth Harry

Tomcat 5.0.x, Log4J, Commons Logging, and Digester Hell (Need Best Practices)

2005-03-16 Thread Lukas Bradley
I need some best practices advice regarding the use of Log4J, Commons Logging, Tomcat 5.0.x, Digester, multiple third party support applications (such as Jakarta Struts, Hibernate 3 (http://www.hibernate.org), Spring Framework (http://www.springframework.org), and others. For the past 2 years

Re: Authentication and logging problem

2005-03-07 Thread Guillaume Lederrey
I found the problem : I was using a UserPrincipal and a RolePrincipal that had a case insensitive equals() method. I was first adding the UserPrincipal with name "admin", and then adding a RolePrincipal with name "Admin". The case insensitive equals() implies that the Role was not added as

Authentication and logging problem

2005-03-04 Thread Guillaume Lederrey
Hello ! I'm having problem with a JAAS authentication realm. I created a LoginModule, configured it as explained in http://forum.java.sun.com/thread.jspa?threadID=233317&tstart=0, defined the permissions in my WEB-INF/web.xml ... The log statements (System.out.println()) I have in my log

Re: How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-03 Thread Adrian Robert
OK, thanks to your vote of confidence in the method, I dug further and discovered that my WEB-INF/classes/log4j.properties was never being found. If I put the log4j.properties into the same jar (in WEB-INF/lib) with the class that was instantiating the Logger, it worked correctly. That's extreme

Re: How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-03 Thread Jacob Kjome
Quoting Adrian Robert <[EMAIL PROTECTED]>: > >> OK, thanks to your vote of confidence in the method, I dug further and > >> discovered that my WEB-INF/classes/log4j.properties was never being > >> found. If I put the log4j.properties into the same jar (in > >> WEB-INF/lib) with the class that was

Re: How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-03 Thread Remy Maucherat
On Thu, 03 Mar 2005 12:11:27 -0500, Adrian Robert <[EMAIL PROTECTED]> wrote: > > That's extremely odd. What version of Tomcat are you running? That's > > a bug > > because WEB-INF/classes should be put in the classpath before jars in > > WEB-INF/lib. I agree it's very odd. > This is 5.5.7, with

  1   2   3   4   5   6   7   8   9   10   >