Tagged Questions
0
votes
1answer
13 views
Tomcat logs web interface
I have several production machines running Java servlets on Tomcat infrastructure.
When I want to look at the logs, I have to remote access the machine with ssh, and manually grep the logs for ...
1
vote
0answers
54 views
X-Forwarded-For not showing up in tomcat7 access log
I'm trying to print out the remote client IP on a tomcat running behind an ELB and for some reason it's not being printed out to the access log.
my elb configuartion is :
80 -> 8080
443 -> 8080
...
0
votes
0answers
23 views
tomcat access-log buffering ends with broken line
What could be the reason, that the AccessLogValve of tomcat is not writing the complete lines whenever the buffer is flushed?
The last line always looks like this:
nnn.nnn.nnn.nnn ...
0
votes
1answer
346 views
How to make Tomcat 7 log debugging info?
Tomcat 7 takes more than 21 minutes to start:
ene 09, 2013 10:01:39 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1290787 ms
When it finishes it says that it's scanning JARs ...
0
votes
0answers
80 views
Tomcat : include date and time in catalina.out
We are using third party application that runs on Tomcat.
The problem is that catalina.out produces times and no dates.I would think this is something simple to configure but my attempts to find ...
1
vote
1answer
465 views
How to turn off Tomcat logging in Eclipse?
I develop a Vaadin project in Eclipse that I start through Tomcat 6 which gets started directly by Eclipse. Tomcat prints an enormous amount of log messages though on each start which makes it hard to ...
1
vote
1answer
132 views
Change properties of tomcat on-the-fly
When we make some changes to .properties file in tomcat, the server should be restarted.
The question is why the server needs to be restarted ?
What should I do if I want to make on-the-fly changes ...
2
votes
1answer
355 views
how to disable mod_jk log completely?
My mod_jk.log gets 2MB bigger in an hour and all it has entries like :
[Mon Aug 13 10:51:28 2012] ajp13 www.my_site.com 0.690152
[Mon Aug 13 10:51:28 2012] ajp13 www.my_site.com 0.002675
[Mon Aug 13 ...
0
votes
0answers
82 views
Tomcat logging on Gentoo
I have recently set up a dedicated server running Gentoo and Tomcat. There are problems with the application I deployed, so I wanted to check the logs but it doesn't seem to be logging everything. The ...
0
votes
2answers
449 views
fedora tomcat log file path
My log file is inside:
kamil@localhost tomcat$ grep "logs/" ./*
./log4j.properties:log4j.appender.R.File=${catalina.home}/logs/tomcat.log
my CATALINA_HOME is
kamil@localhost tomcat$ sudo grep ...
0
votes
2answers
704 views
Tomcat: deleting content of “logs” and “tmp” directories
I have noticed that "logs" and "tmp" content take 36GB and 21GB respectively. I need to free up some disk space and currently wondering is it vise to clean them.
Thanks!
3
votes
1answer
4k views
How to configure tomcat to rollover catalina.log log files
I'm trying to configure my tomcat to rollover log files once a size limit is reached. I'm running tomcat as a windows service and am redirecting all my stdout to catalina.log. This is how I configured ...
2
votes
0answers
112 views
Make Tomcat 7.0 flush logs to disk?
How do I get Apache Tomcat 7.0, running as a service on Windows Server 2008, to flush its logs to disk without restarting the service daemon?
I did find delay on tomcat writing to logs in windows ...
0
votes
3answers
383 views
What are some ways to store Tomcat 6 stdout and stderr logs to external server?
Due to compliance issues, there is a need to store all tomcat logs for at least 6 months on a central server.
Is there a way to send the logs to rsyslog server or any other mechanism that will ...
1
vote
0answers
216 views
In tomcat, how to redirect console output of the web apps to logfile?
I am running Tomcat 7 inside Netbeans in windows. Is there any way of redirecting System.out.println to log file? Right now I'm getting it on my console. Is there any way I can change the logging ...
0
votes
1answer
152 views
Solr log file location on Ubuntu
I have installed Solr in Tomcat on my Ubuntu box.
After making some changes to the schema.xml configuration file, I get the following error when accessing the web interface of Solr:
HTTP Status ...
1
vote
3answers
5k views
How to redirect tomcat console log to files? Tomcat started via windows bat
When tomcat started as service it put his output log in
\logs\stderr.log
\logs\stdout.log
How to write this log files when tomcat started as bat in windows?
PS. tried to start tomcat with
call ...
2
votes
1answer
3k views
How can I disable logging in Tomcat 7?
I have a Tomcat 7 server running in a VM that has very little disk space (20G).
Over the course of a few days Tomcat will fill the space with logging info (usually about 15G before it runs out).
...
0
votes
1answer
321 views
How to turn off output buffering in Apache Tomcat AccessValve
I have a Tomcat 6 server running, with access logs being written via an ExtendedAccessLogValve, and I noticed that it is buffering output. I was wondering if there is a way to turn off buffering for ...
3
votes
3answers
2k views
Tomcat 5.5 : How to redirect the logging output to one file per web application
How to configure tomcat 5.5 (or 6.0) that the output of stdout and stderr of each web application / context will go to one logfile?
I only managed to get the stderr to a specific logfile - the stdout ...
0
votes
1answer
1k views
Tomcat is logging everything to stdout
I have Tomcat 6 installed as a Windows service. All log messages from my web application dreambear (logged with getServletContext().log()) are going to the stdout log instead of the log file I ...
3
votes
1answer
6k views
tomcat processParameters complains about “invalid chunk ignored”
I am hosting a software system running under tomcat for quite a number of customers. Some of these send invalid URLs as request. These URLs may contain "&=" or "&&", which is not within ...
0
votes
1answer
265 views
delay on tomcat writing to logs in windows server 2008
I recently moved a tomcat app from tomcat 5 on windows server 2003 to tomcat 6 under windows server 2008. Now there is a delay writing to the log files. This is for both stdout and acceess logs. For ...
1
vote
1answer
746 views
See full HTTP traffic in Tomcat logs
For debugging purposes, I need a way to see all HTTP traffic between our Tomcat installation and the test clients.
How can I configure Tomcat to trace all HTTP traffic (and not just the headers)?
We ...
0
votes
1answer
435 views
Tomcat log include servlet context
I have a Tomcat instance running several websites. Recently I've been trying to deal with the various error messages that wind up in the Tomcat log file (catalina.out). None of the issues are ...
0
votes
2answers
1k views
Why is Windows Tomcat handling stdout differently if it's from webapp vs from JVM?
I'm running Tomcat 6 under Windows, using the bundled Windows service runner. I seem to have the following behavior:
If one of my webapps writes to stdout (via, say, System.out.println), then this ...
10
votes
6answers
6k views
Open source tomcat log viewer
I'm managing several tomcat instances (aprox 30-35) and looking for some console to centralize the logs.
I tried php-syslog-ng before (no with tomcat), and found it useful. I would like that these ...
0
votes
2answers
749 views
How to monitor bandwidth usage in Tomcat?
I am running an Apache Tomcat 6 website and would like a way to somehow log the amount of bandwidth used for each virtual host on the site. Is there such a plugin or logging class that I could use to ...
3
votes
3answers
2k views
Tomcat 6 HTTP log rolling and purging
We run our web app in an Apache Tomcat 6 container. Our code uses SLF4J and Logback and rolls/purges just fine. The Tomcat log (catalina, stdout, etc.) just get deleted on a Tomcat service restart.
...