Hi, 

Horizon logging depends on Django configuration which supports full python logging [1].
[1] does not provide enough examples.
Perhaps [2] will help you (though I haven't tested it).

[1] https://docs.djangoproject.com/en/2.0/topics/logging/
[2] https://www.simonkrueger.com/2015/05/27/logging-django-apps-to-syslog.html

Thanks,
Akihiro

2018年11月16日(金) 18:47 Tikkanen, Viktor (Nokia - FI/Espoo) <viktor.tikkanen@nokia.com>:
Hi!
 
For most openstack parts (e.g. Aodh, Cinder, Glance, Heat, Ironic, Keystone, Neutron, Nova) it was easy to get logs to syslog.
 
For example for Heat something similar to this (into file templates/heat.conf.j2):
 
# Syslog usage
{% if heat_syslog_enabled %}
use_syslog = True
syslog_log_facility = LOG_LOCAL3
{% else %}
log_file = /var/log/heat/heat.log
{% endif %}
 
But how to get Horizon related logs to syslog?
 
-V.
 
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev