Re: [openstack-dev] [horizon] how to get horizon related logs to syslog?

2018-11-19 Thread Doug Hellmann
Akihiro Motoki writes: > 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). Based on https://docs.djangoproject.com/en/2.1/topics/logging/ it looks lik

Re: [openstack-dev] [horizon] how to get horizon related logs to syslog?

2018-11-19 Thread Akihiro Motoki
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-d

[openstack-dev] [horizon] how to get horizon related logs to syslog?

2018-11-16 Thread Tikkanen, Viktor (Nokia - FI/Espoo)
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_facilit