vmware-archive / kafka-trigger

Kubernetes CRD controller for Kafka topic as event source for Kubeless functions
Apache License 2.0
28 stars 34 forks source link

update(log): structuring the log level for logrus in the kafka consumer #15

Closed gkarthiks closed 5 years ago

gkarthiks commented 5 years ago

Signed-off-by: gkarthiks github.gkarthiks@gmail.com

Issue Ref: [Issue number related to this PR or None] https://github.com/kubeless/kubeless/issues/984 Description: Changing the logrus log level for the kafka message logs. [PR Description] This PR will resolve the above mentioned issue.

Users can still get the messages in the standard logs by setting the environment variable KUBELESS_LOG_LEVEL=DEBUG. If not specified the default log level would be INFO and all the info, warning, error and fatal will be displayed except the kafka messages.

TODOs: