Add _stream fields log (#5068)

This commit is contained in:
Khanh Quoc Le 2023-11-17 21:58:52 +07:00 committed by GitHub
parent ae3107153c
commit 4b7e6b36ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,7 +105,7 @@ func RequestHandler(path string, w http.ResponseWriter, r *http.Request) bool {
vlstorage.MustAddRows(lr) vlstorage.MustAddRows(lr)
logstorage.PutLogRows(lr) logstorage.PutLogRows(lr)
if err != nil { if err != nil {
logger.Warnf("cannot decode log message #%d in /_bulk request: %s", n, err) logger.Warnf("cannot decode log message #%d in /_bulk request: %s, stream fields: %s", n, err, cp.StreamFields)
return true return true
} }