feat: 日志格式调整

This commit is contained in:
tbphp
2025-06-10 11:53:58 +08:00
parent 8ecdbccc2a
commit f79fbd3713
2 changed files with 2 additions and 0 deletions

View File

@@ -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",
})

View File

@@ -12,6 +12,7 @@ services:
# 挂载配置文件(只读)
- ./.env:/app/.env:ro
restart: unless-stopped
tty: true
# 健康检查
healthcheck: