removed debug message from jsonlines handler of victorialogs (#4492)

Signed-off-by: Alexander Marshalov <_@marshalov.org>
This commit is contained in:
Alexander Marshalov 2023-06-21 18:34:12 +02:00 committed by GitHub
parent 58c84ad90d
commit 944793c0f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,8 +137,6 @@ func readLine(sc *bufio.Scanner, timeField, msgField string, processLogMessage f
line := sc.Bytes()
p := logjson.GetParser()
llll.Warnf("\n----\n%s\n----\n", line)
if err := p.ParseLogMessage(line); err != nil {
invalidJSONLineLogger.Warnf("cannot parse json-encoded log entry: %s", err)
return true, nil
@ -225,5 +223,4 @@ var (
var (
invalidTimestampLogger = logger.WithThrottler("invalidTimestampLogger", 5*time.Second)
invalidJSONLineLogger = logger.WithThrottler("invalidJSONLineLogger", 5*time.Second)
llll = logger.WithThrottler("llll", 2*time.Second)
)