Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
文鑫
/
guduo_spider
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
914d97fa
...
914d97fa7aa3c50553ed17141c661761def3809d
authored
2024-12-24 10:34:36 +0800
by
wenxin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
配置调整
1 parent
e4efcea7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/log-config.yaml
app/log-config.yaml
View file @
914d97f
...
...
@@ -15,7 +15,7 @@ handlers:
class
:
logging.handlers.TimedRotatingFileHandler
level
:
INFO
formatter
:
standard
filename
:
'
/Users/mac/PycharmProjects/pythonProject/FastAPIProject1/app
/logs/app.log'
# 日志文件的路径和名称
filename
:
'
.
/logs/app.log'
# 日志文件的路径和名称
when
:
midnight
# 按天分割
interval
:
1
# 每天分割一次
backupCount
:
7
# 保留最近7天的日志文件
...
...
Please
register
or
sign in
to post a comment