Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Commit

Permalink
Increase Jenkins slave syslog max message size.
Browse files Browse the repository at this point in the history
To better capture python tracebacks with syslog set the rsyslog
$MaxMessageSize to 64k. This change is being made to better accomodate
devstack-gate logging after we have stopped archiving the devstack
screen logs.

Change-Id: Ibb01f759f111d924a21c20f8521ea5db4a35e676
Reviewed-on: https://review.openstack.org/21233
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
  • Loading branch information
cboylan authored and Jenkins committed Feb 5, 2013
1 parent aecf5b6 commit 1b7801d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions modules/jenkins/manifests/slave.pp
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,20 @@

}

# Increase syslog message size in order to capture
# python tracebacks with syslog.
file { '/etc/rsyslog.d/99-maxsize.conf':
ensure => present,
# Note MaxMessageSize is not a puppet variable.
content => '$MaxMessageSize 64k',
owner => 'root',
group => 'root',
mode => '0644',
}

service { 'rsyslog':
ensure => running,
enable => true,
subscribe => File['/etc/rsyslog.d/99-maxsize.conf'],
}
}

0 comments on commit 1b7801d

Please sign in to comment.