From 89eff4164dedd845ac9b1fe981d8620c52946fd5b774aba3281391df41a96680 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 19 Aug 2024 17:37:35 +0200 Subject: [PATCH] . --- obs-status-service/rabbitmq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-status-service/rabbitmq.go b/obs-status-service/rabbitmq.go index 974ac8b..ee62ce1 100644 --- a/obs-status-service/rabbitmq.go +++ b/obs-status-service/rabbitmq.go @@ -120,7 +120,7 @@ func ProcessingObsMessages(host, username, password, queueName string) { }() var err error - out, err = os.OpenFile("messages.txt", os.O_WRONLY, 0644) + out, err = os.OpenFile("messages.txt", os.O_WRONLY | os.O_APPEND, 0644) if err != nil { log.Printf("Cannot open message.txt: %v", err) return