mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #36203 from xiaoanyunfei/logowner
fix owner of MultiprocessingLoggingQueue
This commit is contained in:
commit
f11f093f8c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user