diff --git a/Gopkg.lock b/Gopkg.lock index 167ca188..ef6a35ec 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -67,7 +67,7 @@ [[projects]] name = "github.com/jedisct1/dlog" packages = ["."] - revision = "b4b1aa34ca8400126287cfab55c7931e8f37f7de" + revision = "0d0a83a16acaa8b0ef7bc59ede730ef3581d5b7b" version = "0.1" [[projects]] diff --git a/vendor/github.com/jedisct1/dlog/sysdeps_windows.go b/vendor/github.com/jedisct1/dlog/sysdeps_windows.go index 94664e47..2aa4fbbf 100644 --- a/vendor/github.com/jedisct1/dlog/sysdeps_windows.go +++ b/vendor/github.com/jedisct1/dlog/sysdeps_windows.go @@ -7,10 +7,8 @@ type systemLogger struct { } func newSystemLogger(appName string, facility string) (*systemLogger, error) { - eventlog.InstallAsEventCreate(appName, eventlog.Error|eventlog.Warning|eventlog.Info) - var eventLogger *eventlog.Log - var err error - if eventLogger, err = eventlog.Open(appName); err != nil { + eventLogger, err := eventlog.Open(appName) + if err != nil { return nil, err } return &systemLogger{inner: eventLogger}, nil