From 8a7210ad56de30dba9fb57b23afb721f5d415788 Mon Sep 17 00:00:00 2001 From: ari melody Date: Sat, 13 Jun 2026 03:34:31 +0100 Subject: [PATCH] remove redundant logging --- learning/learning.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/learning/learning.go b/learning/learning.go index d93201b..fb8a56f 100644 --- a/learning/learning.go +++ b/learning/learning.go @@ -96,10 +96,8 @@ func (srv *Service) BindRoutes(group *gin.RouterGroup) { ctx.String(http.StatusInternalServerError, http.StatusText(http.StatusInternalServerError)) return } - log.Printf("Waiting on title file lock...") srv.titleFileMutex.Lock() defer srv.titleFileMutex.Unlock() - log.Printf("Got it!") file, err := os.OpenFile(srv.cfg.TitleFilePath, os.O_RDWR | os.O_CREATE | os.O_TRUNC, 0) if err != nil { log.Printf("Failed to open title file: %v", err)