How to setup openstack working with rsyslog? [closed]

asked 2015-10-07 13:58:36 -0500

darren-wang gravatar image

My problem is funny, I can now collect nova's log to one central node with facility LOG_LOCAL1, but the same configuration of rsyslog and glance with :

use_syslog = true
syslog_log_facility = LOG_LOCAL2

doesn't work, but when "syslog_log_facility" is changed to LOG_USER, glance could route its log to syslog. also, keystone and cinder don't unstand LOG_LOCAL3 and LOG_LOCAL4.

I red this kind of configuraion in the official openration guide, it's so weird that these services don't understand LOCALn.

Does anyone has experience on OpenStack's working with rsyslog, please healp me!

Thanks a lot!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by darren-wang
close date 2015-10-14 09:42:49.839321

Comments

well this is funny, when I changed *.conf in the /etc/init/ directory to change uid to root:root of processes in Ubuntu, all the LOCALn facility can now be used!

darren-wang gravatar imagedarren-wang ( 2015-10-14 09:42:31 -0500 )edit