Commit a286cf96 authored by JinyinQiao's avatar JinyinQiao

Merge branch 'dev-liyang' of http://39.105.40.203/liyang/network-assets-reptile into dev-liyang

parents 9d7cbe1d 3b37428e
...@@ -5,3 +5,4 @@ venv ...@@ -5,3 +5,4 @@ venv
*.idea *.idea
__pycache__ __pycache__
_pycache_ _pycache_
user_data/*
\ No newline at end of file
2023/07/11-12:40:42.112 8154 Creating DB C:\Users\desktop\Desktop\network-assets-admin\network-assets-reptile\user_data\Default\Local Storage\leveldb since it was missing.
2023/07/11-12:40:42.390 8154 Reusing MANIFEST C:\Users\desktop\Desktop\network-assets-admin\network-assets-reptile\user_data\Default\Local Storage\leveldb/MANIFEST-000001
2023/07/11-12:40:42.179 544c Creating DB C:\Users\desktop\Desktop\network-assets-admin\network-assets-reptile\user_data\Default\Session Storage since it was missing.
2023/07/11-12:40:42.406 544c Reusing MANIFEST C:\Users\desktop\Desktop\network-assets-admin\network-assets-reptile\user_data\Default\Session Storage/MANIFEST-000001
50995 51214
/devtools/browser/3c3e8e56-b0cc-4213-a098-04a2b2a1d4f2 /devtools/browser/988b3f3a-7b6b-412c-b73c-bdb7282b398c
\ No newline at end of file \ No newline at end of file
...@@ -10,9 +10,10 @@ class MyLogger(Logger): ...@@ -10,9 +10,10 @@ class MyLogger(Logger):
# log_name = '{}.log'.format(time.strftime("%Y_%m_%d_%H_%M_%S", time.localtime())) # log_name = '{}.log'.format(time.strftime("%Y_%m_%d_%H_%M_%S", time.localtime()))
# log_path_file = os.path.join(get_log_path(), log_name) # log_path_file = os.path.join(get_log_path(), log_name)
# 获取日志文件路径 # 获取日志文件路径
all_log_path_file = os.path.join(os.path.abspath(get_log_path()), "network-assets-reptile", "app.log") all_log_path_file = os.path.join(os.path.abspath(get_log_path()), "network-assets-reptile", "log", "app.log")
error_log_path_file = os.path.join(os.path.abspath(get_log_path()), "network-assets-reptile", "error.log") error_log_path_file = os.path.join(os.path.abspath(get_log_path()), "network-assets-reptile", "log",
print(f'log file path:{all_log_path_file}') "error.log")
# print(f'log file path:{all_log_path_file}')
# 设置日志的名字、日志的收集级别 # 设置日志的名字、日志的收集级别
super().__init__("test_api", logging.DEBUG) super().__init__("test_api", logging.DEBUG)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment