~juju-qa/ubuntu/xenial/juju/2.0-rc2

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/worker/uniter/runner/jujuc/server.go

  • Committer: Nicholas Skaggs
  • Date: 2016-09-30 14:39:30 UTC
  • mfrom: (1.8.1)
  • Revision ID: nicholas.skaggs@canonical.com-20160930143930-vwwhrefh6ftckccy
import upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        }
172
172
        j.mu.Lock()
173
173
        defer j.mu.Unlock()
174
 
        logger.Infof("running hook tool %q %q", req.CommandName, req.Args)
 
174
        // Beware, reducing the log level of the following line will lead
 
175
        // to passwords leaking if passed as args.
 
176
        logger.Tracef("running hook tool %q %q", req.CommandName, req.Args)
 
177
        logger.Tracef("running hook tool %q", req.CommandName)
175
178
        logger.Debugf("hook context id %q; dir %q", req.ContextId, req.Dir)
176
179
        wrapper := &cmdWrapper{c, nil}
177
180
        resp.Code = cmd.Main(wrapper, ctx, req.Args)