saltstack/salt — pull request #777 by grierj (2012-02-27 23:54:31+00:00)
Title: Enhanced Logging For Executing User

Track the executing user and do some best effort work to figure out who
it is based on environment variables. Pass the user in the payload
and allow for logging of the user in the summary information about
the job. Move the job summary up to info, move a full dump of the job
payload to debug.
The info level messages will tell a local user that's trying to figure out
"what happened" and the raw dump helps dramatically in actually trying
to figure out what's really being passed around.