Skip to content

Commit

Permalink
Kafka: Increase logging V-level (#3953)
Browse files Browse the repository at this point in the history
Signed-off-by: dkv <[email protected]>
  • Loading branch information
dkv authored Dec 5, 2022
1 parent f885ada commit d3ed916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ To learn more about active deprecations, we recommend checking [GitHub Discussio
- **General**: Metrics Server: use gRPC connection to get metrics from Operator ([#3920](https://github.com/kedacore/keda/issues/3920))
- **General**: Metrics Server: use OpenAPI definitions served by custom-metrics-apiserver ([#3929](https://github.com/kedacore/keda/issues/3929))
- **Azure EventHub**: Add e2e tests ([#2792](https://github.com/kedacore/keda/issues/2792))
- **Apache Kafka Scaler:** Increase logging V-level ([#3948](https://github.com/kedacore/keda/issues/3948))

## v2.8.1

Expand Down
2 changes: 1 addition & 1 deletion pkg/scalers/kafka_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ func (s *kafkaScaler) getLagForPartition(topic string, partitionID int32, offset
msg := fmt.Sprintf(
"invalid offset found for topic %s in group %s and partition %d, probably no offset is committed yet. Returning with lag of %d",
topic, s.metadata.group, partitionID, retVal)
s.logger.V(0).Info(msg)
s.logger.V(1).Info(msg)
return retVal, nil
}

Expand Down

0 comments on commit d3ed916

Please sign in to comment.