tripleo-image-elements/elements/swift-storage/install.d
Gregory Haynes 5fc2040aa5 Log directly to syslog from os services
We currently have a horrible hack for upstart where we run our services
with stdout and stderr piped into logger. There are lots of issues with
this, such as upstart has a hard time knowing which PID to track.
Conveniently, python logging knows how to syslog, so why not just use
that!

This changes the default behaviour of os-svc-daemon to create a python
logging.conf so services log directly to syslog.

This also changes the default upstart respawn limiting to be 2 fails in
10 secs. This is becauce making upstart monitor the actual service
daemon was causing some services to respawn loop due to time it took
them to fail.

Closes-Bug: #1385346

Change-Id: Ibd491881d79160ad1457526d51512f5fc1cf9ea5
2015-01-05 09:28:57 -08:00
..
swift-package-install Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
swift-source-install Log directly to syslog from os services 2015-01-05 09:28:57 -08:00
76-swift-storage-common Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
package-installs-swift-storage Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00