Change: simplify verbose mode

This commit is contained in:
Yoann La Cancellera
2023-10-11 15:50:49 +02:00
parent 161c2af084
commit 117d683872
16 changed files with 784 additions and 708 deletions

View File

@@ -38,7 +38,6 @@ var SSTMap = types.RegexMap{
return donor + utils.Paint(utils.GreenText, " will resync ") + joiner
}
},
Verbosity: types.Detailed,
},
"RegexSSTResourceUnavailable": &types.LogRegex{
@@ -253,7 +252,6 @@ var SSTMap = types.RegexMap{
Handler: func(submatches map[string]string, ctx types.LogCtx, log string) (types.LogCtx, types.LogDisplayer) {
return ctx, types.SimpleDisplayer("preparing SST backup")
},
Verbosity: types.Detailed,
},
"RegexTimeoutReceivingFirstData": &types.LogRegex{

View File

@@ -103,7 +103,6 @@ var ViewsMap = types.RegexMap{
}
return ctx, types.SimpleDisplayer(hash + utils.Paint(utils.YellowText, " suspected to be down"))
},
Verbosity: types.Detailed,
},
"RegexNodeChangedIdentity": &types.LogRegex{
@@ -128,7 +127,6 @@ var ViewsMap = types.RegexMap{
return types.DisplayNodeSimplestForm(ctx, ip) + utils.Paint(utils.YellowText, " changed identity")
}
},
Verbosity: types.Detailed,
},
"RegexWsrepUnsafeBootstrap": &types.LogRegex{
@@ -172,7 +170,6 @@ var ViewsMap = types.RegexMap{
Handler: func(submatches map[string]string, ctx types.LogCtx, log string) (types.LogCtx, types.LogDisplayer) {
return ctx, types.SimpleDisplayer(utils.Paint(utils.YellowText, "no grastate.dat file"))
},
Verbosity: types.Detailed,
},
"RegexBootstrapingDefaultState": &types.LogRegex{
Regex: regexp.MustCompile("Bootstraping with default state"),