Change log to use append.

This commit is contained in:
GRMrGecko 2025-01-08 10:03:34 -06:00
parent 7a4fc3491a
commit 74a6b09b97
2 changed files with 2 additions and 2 deletions

View File

@ -526,7 +526,7 @@ func (l *LogConfig) Apply() {
} }
// Set the log to save to the logpath. // 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 { if err != nil {
log.Println("Failed to open log file: %s %v", l.Path, err) log.Println("Failed to open log file: %s %v", l.Path, err)
} else { } else {

View File

@ -6,7 +6,7 @@ const (
serviceDisplayName = "Virtual VXLAN" serviceDisplayName = "Virtual VXLAN"
serviceVendor = "com.mrgeckosmedia" serviceVendor = "com.mrgeckosmedia"
serviceDescription = "Virtual VXLAN using TUN interfaces" serviceDescription = "Virtual VXLAN using TUN interfaces"
serviceVersion = "0.1.6" serviceVersion = "0.1.7"
defaultConfigFile = "config.yaml" defaultConfigFile = "config.yaml"
) )