init_global_logging()
log_format
refactor: refine the code logic of init_global_logging and add json output format