log to console when run integration tests (#46934)

This commit is contained in:
Yuriy Tseretyan 2022-03-24 13:08:12 -04:00 committed by GitHub
parent 9dc06cd21f
commit 84001fe6be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,6 +177,8 @@ func CreateGrafDir(t *testing.T, opts ...GrafanaOpts) (string, string) {
logSect, err := cfg.NewSection("log")
require.NoError(t, err)
_, err = logSect.NewKey("mode", "console")
require.NoError(t, err)
_, err = logSect.NewKey("level", "debug")
require.NoError(t, err)