mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fully revert 962b11687
This commit is contained in:
parent
ce5d79adce
commit
d70d61fc8b
1 changed files with 2 additions and 3 deletions
|
@ -1118,13 +1118,12 @@ def __process_multiprocessing_logging_queue(opts, queue):
|
|||
setup_extended_logging(opts)
|
||||
while True:
|
||||
try:
|
||||
record_dict = queue.get()
|
||||
if record_dict is None:
|
||||
record = queue.get()
|
||||
if record is None:
|
||||
# A sentinel to stop processing the queue
|
||||
break
|
||||
# Just log everything, filtering will happen on the main process
|
||||
# logging handlers
|
||||
record = logging.makeLogRecord(record_dict)
|
||||
logger = logging.getLogger(record.name)
|
||||
logger.handle(record)
|
||||
except (EOFError, KeyboardInterrupt, SystemExit):
|
||||
|
|
Loading…
Add table
Reference in a new issue