Add logtime_utc option

This commit is contained in:
Neil Twigg
2023-01-31 09:26:46 +00:00
parent 3c7a11c32e
commit 01a02f2382
9 changed files with 60 additions and 14 deletions

View File

@@ -308,6 +308,9 @@ func TestConfigReload(t *testing.T) {
if !updated.Logtime {
t.Fatal("Expected Logtime to be true")
}
if !updated.LogtimeUTC {
t.Fatal("Expected LogtimeUTC to be true")
}
if runtime.GOOS != "windows" {
if !updated.Syslog {
t.Fatal("Expected Syslog to be true")