summaryrefslogtreecommitdiff
path: root/elements/os-svc-install
diff options
context:
space:
mode:
authorGregory Haynes <greg@greghaynes.net>2015-01-14 19:50:42 -0800
committerGregory Haynes <greg@greghaynes.net>2015-01-14 19:50:42 -0800
commit4c31859fbb3b45137f94e6f4af2b01e2e9697e54 (patch)
treee32e4dc06513fbb9ea6c3273accd3e7b34a90e37 /elements/os-svc-install
parent896a082117d4c08edb41c8589e65edb65b0c2912 (diff)
Log from upstart console
We are no longer piping our service output to logger, so we should be logging the stdout via upstart. This is useful for detecting tracebacks and other info which does not go through python logging. Change-Id: I5d4abb94ff15f74fd2478e70d0fa4d3bb9c09f2d
Notes
Notes (review): Verified+2: Jenkins Code-Review+2: Dan Prince <dprince@redhat.com> Code-Review+2: Ben Nemec <openstack@nemebean.com> Workflow+1: Ben Nemec <openstack@nemebean.com> Code-Review+1: Jay Dobies <jason.dobies@redhat.com> Code-Review+1: Stephanie Miller <stephane@alum.mit.edu> Submitted-by: Jenkins Submitted-at: Tue, 20 Jan 2015 16:21:32 +0000 Reviewed-on: https://review.openstack.org/147378 Project: openstack/tripleo-image-elements Branch: refs/heads/master
Diffstat (limited to 'elements/os-svc-install')
-rwxr-xr-xelements/os-svc-install/bin/os-svc-daemon3
1 files changed, 0 insertions, 3 deletions
diff --git a/elements/os-svc-install/bin/os-svc-daemon b/elements/os-svc-install/bin/os-svc-daemon
index f3711d4..5332de6 100755
--- a/elements/os-svc-install/bin/os-svc-daemon
+++ b/elements/os-svc-install/bin/os-svc-daemon
@@ -182,9 +182,6 @@ respawn
182# not hit the default of 10 times in 5 seconds. Make it 2 times in 10s. 182# not hit the default of 10 times in 5 seconds. Make it 2 times in 10s.
183respawn limit 2 10 183respawn limit 2 10
184 184
185# We're logging to syslog
186console none
187
188exec start-stop-daemon --start -c $user --exec $install_dir/bin/$cmd -- $args 185exec start-stop-daemon --start -c $user --exec $install_dir/bin/$cmd -- $args
189 186
190post-start $POSTSTART 187post-start $POSTSTART