<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi, <div><br></div><div>Horizon logging depends on Django configuration which supports full python logging [1].</div><div>[1] does not provide enough examples.</div><div>Perhaps [2] will help you (though I haven't tested it).</div><div><br></div><div>[1] <a href="https://docs.djangoproject.com/en/2.0/topics/logging/">https://docs.djangoproject.com/en/2.0/topics/logging/</a></div><div>[2] <a href="https://www.simonkrueger.com/2015/05/27/logging-django-apps-to-syslog.html">https://www.simonkrueger.com/2015/05/27/logging-django-apps-to-syslog.html</a></div><div><br></div><div>Thanks,</div><div>Akihiro</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">2018年11月16日(金) 18:47 Tikkanen, Viktor (Nokia - FI/Espoo) <<a href="mailto:viktor.tikkanen@nokia.com">viktor.tikkanen@nokia.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div>
<font face="Calibri" size="2"><span style="font-size:11pt">
<div>Hi!</div>
<div> </div>
<div>For most openstack parts (e.g. Aodh, Cinder, Glance, Heat, Ironic, Keystone, Neutron, Nova) it was easy to get logs to syslog.</div>
<div> </div>
<div>For example for Heat something similar to this (into file templates/heat.conf.j2):</div>
<div> </div>
<div># Syslog usage</div>
<div>{% if heat_syslog_enabled %}</div>
<div>use_syslog = True</div>
<div>syslog_log_facility = LOG_LOCAL3</div>
<div>{% else %}</div>
<div>log_file = /var/log/heat/heat.log</div>
<div>{% endif %}</div>
<div> </div>
<div>But how to get Horizon related logs to syslog?</div>
<div> </div>
<div>-V.</div>
<div> </div>
</span></font>
</div>

__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>