[MM-54132] Use annotated logger for log messages from jobs (#24275)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
fcfcbd9909
Коммит
30b12f199b
@@ -36,8 +36,7 @@ type FileBackendTestSuite struct {
|
||||
func TestLocalFileBackendTestSuite(t *testing.T) {
|
||||
// Setup a global logger to catch tests logging outside of app context
|
||||
// The global logger will be stomped by apps initializing but that's fine for testing. Ideally this won't happen.
|
||||
logger := mlog.CreateConsoleTestLogger(true, mlog.LvlError)
|
||||
defer logger.Shutdown()
|
||||
logger := mlog.CreateConsoleTestLogger(t)
|
||||
|
||||
mlog.InitGlobalLogger(logger)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user