From 43a3fdcded77ab6b6384cbf138ca958888b97658 Mon Sep 17 00:00:00 2001 From: konjacpotato Date: Sun, 15 Feb 2026 21:56:31 +0800 Subject: [PATCH] add log type file --- .env | 3 ++- .gitignore | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env b/.env index d5c246a..2ce50b9 100644 --- a/.env +++ b/.env @@ -4,7 +4,8 @@ DEBUG=true # 日志配置 LOG_LEVEL=DEBUG -LOG_TYPE=console +LOG_TYPE=console,file +LOG_FILE_PATH=logs # 数据库配置 DB_HOST= 47.119.128.161 # 192.168.1.200 diff --git a/.gitignore b/.gitignore index ed8ebf5..1bbb861 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -__pycache__ \ No newline at end of file +__pycache__ +logs \ No newline at end of file