From 74a6b09b975b3cb023f0fde15279c05c08dabe26 Mon Sep 17 00:00:00 2001 From: GRMrGecko Date: Wed, 8 Jan 2025 10:03:34 -0600 Subject: [PATCH] Change log to use append. --- config.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index 4967824..fb59300 100644 --- a/config.go +++ b/config.go @@ -526,7 +526,7 @@ func (l *LogConfig) Apply() { } // Set the log to save to the logpath. - f, err := os.OpenFile(l.Path, os.O_RDWR|os.O_CREATE, 0644) + f, err := os.OpenFile(l.Path, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0644) if err != nil { log.Println("Failed to open log file: %s %v", l.Path, err) } else { diff --git a/main.go b/main.go index 762316d..a9f93b4 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ const ( serviceDisplayName = "Virtual VXLAN" serviceVendor = "com.mrgeckosmedia" serviceDescription = "Virtual VXLAN using TUN interfaces" - serviceVersion = "0.1.6" + serviceVersion = "0.1.7" defaultConfigFile = "config.yaml" )