diff --git a/main.go b/main.go index e84fba6..67e28f5 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ const interval = 5 var threadDone = make(chan struct{}) func main() { - clientLogFile, err := os.OpenFile("/tmp/x.log", os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0644) + clientLogFile, err := os.OpenFile("./app.log", os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0644) if err != nil { log.Panicln(err) }