mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
removed debug message from jsonlines handler of victorialogs (#4492)
Signed-off-by: Alexander Marshalov <_@marshalov.org>
This commit is contained in:
parent
58c84ad90d
commit
944793c0f7
1 changed files with 0 additions and 3 deletions
|
@ -137,8 +137,6 @@ func readLine(sc *bufio.Scanner, timeField, msgField string, processLogMessage f
|
||||||
line := sc.Bytes()
|
line := sc.Bytes()
|
||||||
p := logjson.GetParser()
|
p := logjson.GetParser()
|
||||||
|
|
||||||
llll.Warnf("\n----\n%s\n----\n", line)
|
|
||||||
|
|
||||||
if err := p.ParseLogMessage(line); err != nil {
|
if err := p.ParseLogMessage(line); err != nil {
|
||||||
invalidJSONLineLogger.Warnf("cannot parse json-encoded log entry: %s", err)
|
invalidJSONLineLogger.Warnf("cannot parse json-encoded log entry: %s", err)
|
||||||
return true, nil
|
return true, nil
|
||||||
|
@ -225,5 +223,4 @@ var (
|
||||||
var (
|
var (
|
||||||
invalidTimestampLogger = logger.WithThrottler("invalidTimestampLogger", 5*time.Second)
|
invalidTimestampLogger = logger.WithThrottler("invalidTimestampLogger", 5*time.Second)
|
||||||
invalidJSONLineLogger = logger.WithThrottler("invalidJSONLineLogger", 5*time.Second)
|
invalidJSONLineLogger = logger.WithThrottler("invalidJSONLineLogger", 5*time.Second)
|
||||||
llll = logger.WithThrottler("llll", 2*time.Second)
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue