fix(maestro): Fixed the debug logging level (#334)
Co-authored-by: Liangxuan Guo <guoliangxuan@deepmatrix.com.cn>
This commit is contained in:
@@ -31,7 +31,7 @@ if MAESTRO_ENV_PATH.exists():
|
||||
load_dotenv(dotenv_path=MAESTRO_ENV_PATH)
|
||||
|
||||
logger = logging.getLogger()
|
||||
logger.setLevel(logging.DEBUG)
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
vm_datetime_str: str = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
||||
|
||||
@@ -51,9 +51,9 @@ sdebug_handler = logging.FileHandler(
|
||||
)
|
||||
|
||||
file_handler.setLevel(logging.INFO)
|
||||
debug_handler.setLevel(logging.DEBUG)
|
||||
debug_handler.setLevel(logging.INFO)
|
||||
stdout_handler.setLevel(logging.INFO)
|
||||
sdebug_handler.setLevel(logging.DEBUG)
|
||||
sdebug_handler.setLevel(logging.INFO)
|
||||
|
||||
# Safe logging filter
|
||||
safe_filter = SafeLoggingFilter()
|
||||
|
||||
Reference in New Issue
Block a user