Compute stores a log file for each service in
/var/log/nova
. For example,
nova-compute.log
is the log for
the nova-compute
service. You can set the following options to format log
strings for the nova.log module in the
nova.conf
file:
logging_context_format_string
logging_default_format_string
If the log level is set to debug
, you
can also specify
logging_debug_format_suffix
to
append extra formatting. For information about what
variables are available for the formatter see: http://docs.python.org/library/logging.html#formatter.
You have two options for logging for OpenStack Compute
based on configuration settings. In
nova.conf
, include the
logfile
option to enable logging.
Alternatively you can set use_syslog=1
so that the nova daemon logs to syslog.