feat: 日志格式调整
This commit is contained in:
@@ -160,6 +160,7 @@ func setupLogger(configManager types.ConfigManager) {
|
||||
})
|
||||
} else {
|
||||
logrus.SetFormatter(&logrus.TextFormatter{
|
||||
ForceColors: true,
|
||||
FullTimestamp: true,
|
||||
TimestampFormat: "2006-01-02 15:04:05",
|
||||
})
|
||||
|
@@ -12,6 +12,7 @@ services:
|
||||
# 挂载配置文件(只读)
|
||||
- ./.env:/app/.env:ro
|
||||
restart: unless-stopped
|
||||
tty: true
|
||||
|
||||
# 健康检查
|
||||
healthcheck:
|
||||
|
Reference in New Issue
Block a user