diff --git a/app/login_info.py b/app/login_info.py index ab2dc87..3b60b78 100644 --- a/app/login_info.py +++ b/app/login_info.py @@ -1,6 +1,6 @@ import json -login_file_path = '/data/ww/py_sys_monitor/login_info' +login_file_path = '/data/ww/py_sys_monitor/info/login_info' def get_recent_login_info(page_index=1, page_size=10): if page_index <= 0: diff --git a/app/network.py b/app/network.py index 671f644..67877bc 100644 --- a/app/network.py +++ b/app/network.py @@ -5,7 +5,7 @@ import os from datetime import datetime, timedelta from collections import deque -log_file_path = '/data/ww/py_sys_monitor/net_speed' +log_file_path = '/data/ww/py_sys_monitor/info/net_speed' def ensure_log_file_exists(): if not os.path.exists(log_file_path): diff --git a/app/request_info.py b/app/request_info.py index d6be668..fa4cbbe 100644 --- a/app/request_info.py +++ b/app/request_info.py @@ -2,7 +2,7 @@ import os import json from flask import request -log_file_path = '/data/ww/py_sys_monitor/access_log' +log_file_path = '/data/ww/py_sys_monitor/info/access_log' def get_request_info(page_index=1, page_size=10): if page_index <= 0: