QueueMetrics > Running QueueMetrics
Tomcat log files taking up to much disk space
rudio:
du -sm /usr/local/queuemetrics/tomcat/logs/*
Shows log files of 600mb per day. How do I decrease or turn of these logs for tomcat?
Any ideas welcome.
QueueMetrics:
You could simply rotate them daily using a logrotate job like:
--- Code: ---/usr/local/queuemetrics/tomcat/logs/*.* {
missingok
rotate 5
daily
compress
create 0640 root root
postrotate
/etc/init.d/queuemetrics restart > /dev/null 2> /dev/null
endscript
}
--- End code ---
You can decide how much to keep them for (in the example, 5 days compressed). They should compress very well.
gb_delti:
I have this problem too. While rotating the logs is ok, it would be better if they weren't so big in the first place. Is there any way to make QueueMetrics less "chatty"?
QueueMetrics:
Unfortunately. not at the moment.
It should not be overly chatty anyway - it should just log a couple of lines per transaction.
WRP:
I'm having the same problem. We've been running queuemetrics for about two months and our tomcat logs folder has reached 32G! This is a server that generally has three callers being serviced in a queue at any given time. Is this a normal size? We've been having a lot of issues with asterisk queues acting up (stuck calls, etc). Could there be any indicators in this log file of bigger problems seeing that the size is so huge?
Navigation
[0] Message Index
[#] Next page
Go to full version