~axwalk/juju-core/lp1211147-no-log-forwarding-on-state

Viewing all changes in revision 1629.

  • Committer: Andrew Wilkins
  • Date: 2013-08-14 07:50:11 UTC
  • Revision ID: andrew.wilkins@canonical.com-20130814075011-0ps8qkcgy3fkyb04
Don't forward logs if deploying on state server

Previously, whenever a unit was deployed a configuration
file was created in /etc/rsyslog.d to forward logs to
the state servers. This introduced a feedback loop when
the the unit was deployed on a state server machine.

Now, check for the existence of /etc/rsyslog.d/25-juju.conf
before creating an additional configuration.

Fixes bug #1211147

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: