认证高级PHP讲师
Answer the following by yourself, using a method to close each other's log handler when the main process and sub-process are started:
log = logging.getLogger(config.CTRL_LOGGER_NAME) for handler in log.handlers: handler.flush() handler.close() log.removeHandler(handler)
This problem may be caused by a bug in subprocess. Subprocess provides the close_fds parameter but it does not take effect
Answer the following by yourself, using a method to close each other's log handler when the main process and sub-process are started:
This problem may be caused by a bug in subprocess. Subprocess provides the close_fds parameter but it does not take effect