We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55e2717 commit 88446afCopy full SHA for 88446af
internal/beatcmd/logging_test.go
@@ -27,18 +27,6 @@ import (
27
"github.com/elastic/elastic-agent-libs/logp"
28
)
29
30
-func init() {
31
- // Configure tests to log at debug level, and to send
32
- // logs to logp.ObserverLogs(). It is important to not
33
- // log to files by default in tests, as logp will keep
34
- // the files open and prevent temporary directories from
35
- // being removed on Windows.
36
- logOptions = append(logOptions,
37
- logp.ToObserverOutput(),
38
- logp.WithLevel(logp.DebugLevel),
39
- )
40
-}
41
-
42
var environments = []logp.Environment{
43
logp.DefaultEnvironment,
44
logp.SystemdEnvironment,
0 commit comments