Skip to content

Commit

Permalink
Merge pull request saltstack#36203 from xiaoanyunfei/logowner
Browse files Browse the repository at this point in the history
fix owner of MultiprocessingLoggingQueue
  • Loading branch information
Mike Place authored Sep 11, 2016
2 parents b586ed7 + 74dc90c commit f11f093
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/log/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,8 @@ def patch_python_logging_handlers():
def __process_multiprocessing_logging_queue(opts, queue):
import salt.utils
salt.utils.appendproctitle('MultiprocessingLoggingQueue')
from salt.utils.verify import check_user
check_user(opts['user'])
if salt.utils.is_windows():
# On Windows, creating a new process doesn't fork (copy the parent
# process image). Due to this, we need to setup extended logging
Expand Down

0 comments on commit f11f093

Please sign in to comment.