Comment 11 for bug 1284867

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

The one option for existing envs is to use debug = true. Debug case uses another method of capturing local Openstack logs to syslog and ensures no messages will be skipped because of the python logging configs (note: UDP protocol does not provides reliable delivery for logging messages, though)

Another option is for every 'foo-bar' Openstack service, use log_config_append instead of log_config and correct
log_format=%(asctime)s.%(msecs)06d+00:00 foo-bar %(levelname)s: %(name)s: %(message)s
and log_date_format=%Y-%m-%dT%H:%M:%S
For example, patch for nova config could be http://pastebin.com/akN4J2EN. That would make all nova subservices to log locally as is, and remotely to /var/log/remote/node-baz.qux/nova.log

For new releases, we will just put use_syslog_rfc_format=True option in the OS configs to resolve this issue.