You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi team,
I am using logstash with loguru 0.7.2. Django version is 5.0.8. My config is as below. Whenever I get any WARNING, it is added to the logstash but if I print INFO log, it is not added to logstash.
LOGGING= {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'logstash': {
'level': 'DEBUG',
'class': 'logstash.TCPLogstashHandler',
'host': 'localhost',
'port': 5959, # Default value: 5959'version': 1,
# Version of logstash event schema. Default value: 0 (for backward compatibility of the library)'message_type': 'logstash', # 'type' field in logstash message. Default value: 'logstash'.'fqdn': False, # Fully qualified domain name. Default value: false.'tags': ['tag1', 'tag2'], # list of tags. Default: None.
},
},
'loggers': {
'django.request': {
'handlers': ['logstash'],
'level': 'DEBUG',
'propagate': True,
},
},
}
Hi team,
I am using logstash with loguru 0.7.2. Django version is 5.0.8. My config is as below. Whenever I get any WARNING, it is added to the logstash but if I print INFO log, it is not added to logstash.
logstash.conf file
docker-compose.yml file
Thank you.
The text was updated successfully, but these errors were encountered: