~allenap/maas/normalise-logging--bug-1639182--yakkety--2.1

« back to all changes in this revision

Viewing changes to services/rackd/run

  • Committer: Gavin Panella
  • Date: 2016-11-29 12:04:41 UTC
  • Revision ID: gavin.panella@canonical.com-20161129120441-p9qdztkd6emy6a9r
Backport r5573 from lp:maas: Log consistently on both Xenial and Yakkety.

Twisted is going through a transition and some of the work done in Xenial for Twisted 16.0 does not have the desired effect in Yakkety with Twisted 16.4, and vice-versa.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
script="$(readlink -f bin/twistd.rack)"
31
31
 
32
32
exec $(command -v authbind && echo --deep) \
33
 
    "${script}" --nodaemon --pidfile="" maas-rackd
 
33
    "${script}" --logger=provisioningserver.logger.EventLogger \
 
34
    --nodaemon --pidfile="" maas-rackd