Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I finally found almost OpenStack components have 2 config file:
/etc/nova/nova.conf, /usr/share/nova/nova-dist.conf
/etc/nova/cinder.conf, /usr/share/nova/cinder-dist.conf
......
although the option "use_stderr" is not specified in /etc/xxx/xxx.conf, but it is specified in /usr/share/xxx/xxx-dist.conf
except cinder by default.

That's why cinder used the default value "use_stderr = True" and write log to /var/log/messages.

I finally found almost OpenStack components have 2 config file:
/etc/nova/nova.conf, /usr/share/nova/nova-dist.conf
/etc/nova/cinder.conf, /usr/share/nova/cinder-dist.conf /etc/cinder/cinder.conf, /usr/share/cinder/cinder-dist.conf
......
although the option "use_stderr" is not specified in /etc/xxx/xxx.conf, but it is specified in /usr/share/xxx/xxx-dist.conf
except cinder by default.

That's why cinder used the default value "use_stderr = True" and write log to /var/log/messages.