Bug#696228: graphite-carbon: logrotate and internal carbon log rotation interact badly

2013-01-17 Thread Hermann Lauer
Hello Jonnas, On Sun, Jan 13, 2013 at 04:44:49PM +0100, Jonas Genannt wrote: This looks like the twisted log class used in carbon is still doing internal logrotation when the file exceeds 1M in size. I have updated the patch against Carbon, it now disables rotateLength. That is by

Bug#696228: graphite-carbon: logrotate and internal carbon log rotation interact badly

2013-01-17 Thread Jonas Genannt
Hello Hermann, with your latest patch it now works like expected: -rw-r--r-- 1 _graphite root 6410536 Jan 17 11:00 console.log -rw-r--r-- 1 _graphite _graphite 368 Jan 15 06:31 console.log.1 6:31 is nearly the time when logrotate kicks in and today no rotation. This bug can be

Bug#696228: graphite-carbon: logrotate and internal carbon log rotation interact badly

2013-01-17 Thread Jonas Genannt
severity 696228 grave tags 696228 + pending thanks Hello, On Sun, Jan 13, 2013 at 04:44:49PM +0100, Jonas Genannt wrote: This looks like the twisted log class used in carbon is still doing internal logrotation when the file exceeds 1M in size. I have updated the patch against Carbon,

Bug#696228: graphite-carbon: logrotate and internal carbon log rotation interact badly

2013-01-13 Thread Jonas Genannt
Hello Hermann, On Thu, Jan 03, 2013 at 12:46:34PM +0100, Hermann Lauer wrote: looks still somehow messy, but deleted now all console.log* files as you said and will watch if a new mess builds up during the next days. Deleted the default logrotate rule for carbon a few days ago and are

Bug#696228: graphite-carbon: logrotate and internal carbon log rotation interact badly

2013-01-11 Thread Hermann Lauer
Hello Jonas, On Thu, Jan 03, 2013 at 12:46:34PM +0100, Hermann Lauer wrote: looks still somehow messy, but deleted now all console.log* files as you said and will watch if a new mess builds up during the next days. Deleted the default logrotate rule for carbon a few days ago and are seeing

Bug#696228: graphite-carbon: logrotate and internal carbon log rotation interact badly

2013-01-03 Thread Hermann Lauer
Hello Jonas, On Thu, Dec 20, 2012 at 10:23:48PM +0100, Jonas Genannt wrote: many thanks for the quick patch, which looks like doing the right thing. Our customized package contains it now and is running, will report when I'm shure it works like expected. # ls -l listener.log* -rw-r- 1

Bug#696228: graphite-carbon: logrotate and internal carbon log rotation interact badly

2012-12-20 Thread Jonas Genannt
Hello Hermann, many thanks for the quick patch, which looks like doing the right thing. Our customized package contains it now and is running, will report when I'm shure it works like expected. thanks for testing. | | `-dpkg,18859 --status-fd 15 --configure

Bug#696228: graphite-carbon: logrotate and internal carbon log rotation interact badly

2012-12-19 Thread Hermann Lauer
Hello Jonas, On Tue, Dec 18, 2012 at 06:46:55PM +0100, Jonas Genannt wrote: you are correct. Carbon rotates also. I have created an patch against that problem. ... If it works on your side, I will submit it to upstream. many thanks for the quick patch, which looks like doing the right

Bug#696228: graphite-carbon: logrotate and internal carbon log rotation interact badly

2012-12-18 Thread Hermann Lauer
Package: graphite-carbon Version: 0.9.10-1.1 Severity: normal Dear Maintainer, the usage of both logrotate and the carbon internal logrotation facility yields to the logs splitted, see content of directory /var/log/carbon below. For the moment, disabling /etc/logrotate.d/graphite-carbon would

Bug#696228: graphite-carbon: logrotate and internal carbon log rotation interact badly

2012-12-18 Thread Jonas Genannt
Hello Hermann, the usage of both logrotate and the carbon internal logrotation facility yields to the logs splitted, see content of directory /var/log/carbon below. For the moment, disabling /etc/logrotate.d/graphite-carbon would be avoid the mess, but in the long run carbon's internal