fix and recompile

This commit is contained in:
Othman Hendy Suseno
2025-09-09 00:08:24 +07:00
parent f0dc0f32fa
commit 8c4b661152
11 changed files with 393 additions and 168 deletions

View File

@@ -53,7 +53,7 @@ func main() {
func setupLogging(file string) {
logrus.SetFormatter(&logrus.TextFormatter{FullTimestamp: true})
logrus.SetLevel(logrus.InfoLevel)
logrus.SetLevel(logrus.DebugLevel) // Changed from InfoLevel to DebugLevel for troubleshooting
if file != "" {
f, err := os.OpenFile(file, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0644)
if err != nil {