saltstack/salt — pull request #1808 by s0undt3ch (2012-08-10 10:28:34+00:00)
Title: Proposed fix for saltstack/salt#1756

* Only use logging if the console logging has been properly setup, in case it hasn't been, write the message to `sys.stderr`.
* Removed the log argument passed to `salt.verify.check_user`, it's not needed anymore.