On ubuntu break app logs into their own files
Currently on ubuntu we are sending all app logs to syslog which munges them all together into /var/log/syslog. This makes debugging a somewhat painful experience. Change-Id: I89f9ddc168f08b90cece7cf5af2e032b2c4f5371
This commit is contained in:
@@ -8,6 +8,7 @@ install -m 0755 -o root -g root $(dirname $0)/../bin/os-svc-enable /usr/local/b
|
||||
if [ "$(dib-init-system)" = "upstart" ] ; then
|
||||
install -m 0755 -o root -g root $(dirname $0)/../bin/os-svc-enable-upstart /usr/local/bin/os-svc-enable-upstart
|
||||
install -m 0644 -o root -g root $(dirname $0)/../upstart/os-svc-enable.conf /etc/init/os-svc-enable.conf
|
||||
install -m 0644 -o root -g root $(dirname $0)/../rsyslog.d/25-tripleo-apps.conf /etc/rsyslog.d/25-tripleo-apps.conf
|
||||
fi
|
||||
|
||||
install -m 0755 -o root -g root -d /opt/stack/venvs
|
||||
|
||||
3
elements/os-svc-install/rsyslog.d/25-tripleo-apps.conf
Normal file
3
elements/os-svc-install/rsyslog.d/25-tripleo-apps.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
# Log each app to its own log file
|
||||
$template tripleoAppLogFile,"/var/log/%programname%.log"
|
||||
user.notice ?tripleoAppLogFile
|
||||
Reference in New Issue
Block a user