diff --git a/modules/openstack_project/files/zuul/gearman-logging.conf b/modules/openstack_project/files/zuul/gearman-logging.conf index c75f7b3ae6..c662068b62 100644 --- a/modules/openstack_project/files/zuul/gearman-logging.conf +++ b/modules/openstack_project/files/zuul/gearman-logging.conf @@ -24,7 +24,7 @@ args=(sys.stdout,) [handler_normal] level=WARNING -class=logging.FileHandler +class=logging.handlers.WatchedFileHandler formatter=simple args=('/var/log/zuul/gearman-server.log',) diff --git a/modules/openstack_project/files/zuul/logging.conf b/modules/openstack_project/files/zuul/logging.conf index 756eee525d..62ee24e878 100644 --- a/modules/openstack_project/files/zuul/logging.conf +++ b/modules/openstack_project/files/zuul/logging.conf @@ -34,13 +34,13 @@ args=(sys.stdout,) [handler_debug] level=DEBUG -class=logging.FileHandler +class=logging.handlers.WatchedFileHandler formatter=simple args=('/var/log/zuul/debug.log',) [handler_normal] level=INFO -class=logging.FileHandler +class=logging.handlers.WatchedFileHandler formatter=simple args=('/var/log/zuul/zuul.log',) diff --git a/modules/openstack_project/files/zuul/merger-logging.conf b/modules/openstack_project/files/zuul/merger-logging.conf index dd77ed1a04..1807f2a427 100644 --- a/modules/openstack_project/files/zuul/merger-logging.conf +++ b/modules/openstack_project/files/zuul/merger-logging.conf @@ -34,13 +34,13 @@ args=(sys.stdout,) [handler_debug] level=DEBUG -class=logging.FileHandler +class=logging.handlers.WatchedFileHandler formatter=simple args=('/var/log/zuul/merger-debug.log',) [handler_normal] level=INFO -class=logging.FileHandler +class=logging.handlers.WatchedFileHandler formatter=simple args=('/var/log/zuul/merger.log',) diff --git a/modules/zuul/manifests/merger.pp b/modules/zuul/manifests/merger.pp index 7aeb0384c2..a6e5d183e7 100644 --- a/modules/zuul/manifests/merger.pp +++ b/modules/zuul/manifests/merger.pp @@ -39,7 +39,6 @@ class zuul::merger ( log => '/var/log/zuul/merger.log', options => [ 'compress', - 'copytruncate', 'missingok', 'rotate 30', 'daily', @@ -51,7 +50,6 @@ class zuul::merger ( log => '/var/log/zuul/merger-debug.log', options => [ 'compress', - 'copytruncate', 'missingok', 'rotate 30', 'daily', diff --git a/modules/zuul/manifests/server.pp b/modules/zuul/manifests/server.pp index 261aa73e20..c0c8f4ed3a 100644 --- a/modules/zuul/manifests/server.pp +++ b/modules/zuul/manifests/server.pp @@ -35,7 +35,6 @@ class zuul::server ( log => '/var/log/zuul/zuul.log', options => [ 'compress', - 'copytruncate', 'missingok', 'rotate 30', 'daily', @@ -47,7 +46,6 @@ class zuul::server ( log => '/var/log/zuul/debug.log', options => [ 'compress', - 'copytruncate', 'missingok', 'rotate 30', 'daily', @@ -59,7 +57,6 @@ class zuul::server ( log => '/var/log/zuul/gearman-server.log', options => [ 'compress', - 'copytruncate', 'missingok', 'rotate 7', 'daily',