From c9ebcab8b89df6d00f551bee3dc7dac2080b649b Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 7 Jan 2024 18:02:59 +0800 Subject: [PATCH] fix: fix theme logging --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 3ab1872c..d871a548 100644 --- a/main.go +++ b/main.go @@ -20,7 +20,7 @@ var buildFS embed.FS func main() { common.SetupLogger() - common.SysLog(fmt.Sprintf("One API %s started with theme %s", common.Version, common.Theme)) + common.SysLog(fmt.Sprintf("One API %s started", common.Version)) if os.Getenv("GIN_MODE") != "debug" { gin.SetMode(gin.ReleaseMode) } @@ -47,6 +47,7 @@ func main() { // Initialize options model.InitOptionMap() + common.SysLog(fmt.Sprintf("using theme %s", common.Theme)) if common.RedisEnabled { // for compatibility with old versions common.MemoryCacheEnabled = true