Your ROOT_URL in app.ini is http://192.168.1.7:3000/ but you are visiting http://shqkxh.org:3000/yz/dataloader/commit/e0c35587af8521cc23fbe85f63305d9b700967b3?style=unified&whitespace=show-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

log level switch

main
yzlocal 3 years ago
parent 5a2439c7f6
commit e0c35587af

@ -11,9 +11,9 @@ running_which_env = 'prd'
ROOT_DIR = abspath(join(dirname(abspath(__file__)), ".."))
logger.remove()
logger.add(sys.stderr, level="INFO")
logger.add(sys.stderr, level="WARNING")
logger.add(ROOT_DIR+"/logs/{time:YYYYMMDD-HHmmss}"+f"_{running_which_env}.log",
rotation="10 MB", compression="zip", level="DEBUG")
rotation="10 MB", compression="zip", level="INFO")
def run_add_1day_code_init_minKline(date, code_list):

Loading…
Cancel
Save