We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello I use the check_kafka script and I have the following error message, and I do not see where the problem is, below the logging.conf file
[loggers] keys=root
[handlers] keys=consoleHandler,fileHandler,kafkaHandler
[formatters] keys=simpleFormatter,logstashFormatter
[logger_root] level=DEBUG handlers=consoleHandler,fileHandler,kafkaHandler formatter=simpleFormatter
[handler_fileHandler] class=logging.handlers.WatchedFileHandler level=DEBUG formatter=simpleFormatter args=('/var/log/check_kafka.log', 'a')
[handler_kafkaHandler] class=python_kafka_logging.KafkaHandler.KafkaLoggingHandler level=DEBUG formatter=logstashFormatter args=("192.168.0.35:2181, 192.168.0.193:2181","apps-openshift")
[handler_consoleHandler] class=StreamHandler level=DEBUG formatter=simpleFormatter args=(sys.stdout,)
[formatter_simpleFormatter] format=%(asctime)s - %(levelname)s - %(name)s - %(message)s
[formatter_logstashFormatter] class=logstash_formatter.LogstashFormatter format={"extra": {"appName": "myPythonApp", "environment": "AWS-Test"}}
can you help me ? thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello
I use the check_kafka script and I have the following error message, and I do not see where the problem is, below the logging.conf file
[loggers]
keys=root
[handlers]
keys=consoleHandler,fileHandler,kafkaHandler
[formatters]
keys=simpleFormatter,logstashFormatter
[logger_root]
level=DEBUG
handlers=consoleHandler,fileHandler,kafkaHandler
formatter=simpleFormatter
[handler_fileHandler]
class=logging.handlers.WatchedFileHandler
level=DEBUG
formatter=simpleFormatter
args=('/var/log/check_kafka.log', 'a')
[handler_kafkaHandler]
class=python_kafka_logging.KafkaHandler.KafkaLoggingHandler
level=DEBUG
formatter=logstashFormatter
args=("192.168.0.35:2181, 192.168.0.193:2181","apps-openshift")
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)
[formatter_simpleFormatter]
format=%(asctime)s - %(levelname)s - %(name)s - %(message)s
[formatter_logstashFormatter]
class=logstash_formatter.LogstashFormatter
format={"extra": {"appName": "myPythonApp", "environment": "AWS-Test"}}
can you help me ?
thanks
The text was updated successfully, but these errors were encountered: