feat: xscript添加logger
This commit is contained in:
parent
43d0d90e41
commit
4ac5d1f1f7
|
@ -3,6 +3,8 @@ from apps.utils.sql import DbConnection
|
|||
from datetime import datetime, timedelta
|
||||
from apps.enm.services import db_insert_mplogx_batch
|
||||
import requests
|
||||
import logging
|
||||
myLogger = logging.getLogger("log")
|
||||
|
||||
def main(xscript, mcodes_list):
|
||||
exec(xscript.code)
|
||||
|
|
Loading…
Reference in New Issue