|
|
|
@ -2,13 +2,17 @@ |
|
|
|
""" |
|
|
|
TermControlAgent 启动脚本 |
|
|
|
""" |
|
|
|
import os |
|
|
|
import warnings |
|
|
|
import sys |
|
|
|
import os |
|
|
|
import argparse |
|
|
|
from app.core.app import create_app, create_development_app, create_production_app |
|
|
|
from app.core.config import config |
|
|
|
from app.utils.log import get_enhanced_logger, LogLevel |
|
|
|
|
|
|
|
# 忽略paramiko的弃用警告 |
|
|
|
warnings.filterwarnings("ignore", category=DeprecationWarning, module="paramiko") |
|
|
|
|
|
|
|
logger = get_enhanced_logger(__name__, LogLevel.INFO) |
|
|
|
|
|
|
|
|
|
|
|
|