<div dir="ltr">Thanks Masahito, I'll go that way. I had to remove 'log_dir' / 'log_file' from nova.conf in order to avoid nova-compute writing to disk.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 27, 2015 at 3:25 AM, Masahito MUROI <span dir="ltr"><<a href="mailto:muroi.masahito@lab.ntt.co.jp" target="_blank">muroi.masahito@lab.ntt.co.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm not sure if Python can distribute logs both into file and syslog based on its level but syslog has an ability to do it. So how about using syslog as nova-compute logging and changing the output by the syslog?<br>
<br>
We are using the solution to change actions by logging levels.<br>
<br>
regard,<br>
Masa<div><div class="h5"><br>
<br>
On 2015/02/27 6:31, Gustavo Randich wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
Is it possible to configure nova-compute logging with INFO level in<br>
nova-compute.log and WARN level to syslog?<br>
<br>
I couldn't play with options in /etc/nova/logging.conf, because of the<br>
folowing problems:<br>
<br>
- folsom: when I use "log_config=/etc/nova/logging.<u></u>conf", the following<br>
error is raised:<br>
No handlers could be found for logger "nova"<br>
<br>
- icehouse: when I use "log_config_append=/etc/nova/<u></u>logging.conf", this<br>
error is raised:<br>
internal error: could not initialize domain event timer<br>
<br>
Thanks!<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.<u></u>openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-operators</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Masahito MUROI<br>
Software Innovation Center, NTT<br>
Tel: +81-422-59-4539,FAX: +81-422-59-2699<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.<u></u>openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-operators</a><br>
</font></span></blockquote></div><br></div>