Atom feed of this document
  
 

 Logging

You configure logging externally to the rest of the Identity Service. The file specifying the logging configuration is in the [DEFAULT] section of the keystone.conf file under log_config. To route logging through syslog, set use_syslog=true option in the [DEFAULT] section.

A sample logging file is available with the project in the etc/logging.conf.sample directory. Like other OpenStack projects, the Identity Service uses the Python logging module, which includes extensive configuration options that let you define the output levels and formats.

Review the etc/keystone.conf sample configuration files that are distributed with the Identity Service. For example, each server application has its own configuration file.

For services that have separate paste-deploy .ini files, you can configure auth_token middleware in the [keystone_authtoken] section in the main configuration file, such as nova.conf. For example in Compute, you can remove the middleware parameters from api-paste.ini, as follows:

[filter:authtoken]
paste.filter_factory =
keystoneclient.middleware.auth_token:filter_factory

Set these values in the nova.conf file:

[DEFAULT]
...
auth_strategy=keystone

[keystone_authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
auth_uri = http://127.0.0.1:5000/
admin_user = admin
admin_password = SuperSekretPassword
admin_tenant_name = service
[Note]Note

Middleware parameters in paste config take priority. You must remove them to use values in the [keystone_authtoken] section.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...