mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix log owner
This commit is contained in:
parent
58160ed6c0
commit
bd61b88fc8
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue