[Openstack-operators] logging to syslog and log file with different levels

Gustavo Randich gustavo.randich at gmail.com
Fri Feb 27 18:22:12 UTC 2015


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.


On Fri, Feb 27, 2015 at 3:25 AM, Masahito MUROI <
muroi.masahito at lab.ntt.co.jp> wrote:

> 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?
>
> We are using the solution to change actions by logging levels.
>
> regard,
> Masa
>
>
> On 2015/02/27 6:31, Gustavo Randich wrote:
>
>> Hi,
>>
>> Is it possible to configure nova-compute logging with INFO level in
>> nova-compute.log and WARN level to syslog?
>>
>> I couldn't play with options in /etc/nova/logging.conf, because of the
>> folowing problems:
>>
>> - folsom: when I use "log_config=/etc/nova/logging.conf", the following
>> error is raised:
>> No handlers could be found for logger "nova"
>>
>> - icehouse: when I use "log_config_append=/etc/nova/logging.conf", this
>> error is raised:
>> internal error: could not initialize domain event timer
>>
>> Thanks!
>>
>>
>>
>> _______________________________________________
>> OpenStack-operators mailing list
>> OpenStack-operators at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>
>>
>
> --
> Masahito MUROI
> Software Innovation Center, NTT
> Tel: +81-422-59-4539,FAX: +81-422-59-2699
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150227/7d2a2b24/attachment.html>


More information about the OpenStack-operators mailing list