openstack-ansible/doc/source/developer-docs/ops-logging.rst
daz bdb856c8fe [docs] Migrate ops and appendix content
1. Migrate Ops chapter and tips and tricks appendix to developer docs
2. Migrate Appendix G to a chapter in the developer docs
3. Minor edits

Change-Id: I4070f02b75a8f9614545be0744e63ba76a3b49e2
Implements: blueprint osa-install-guide-overhaul
2016-06-17 10:13:27 +10:00

969 B

Home OpenStack-Ansible Installation Guide

Centralized logging

OpenStack-Ansible configures all instances to send syslog data to a container (or group of containers) running rsyslog. The rsyslog server containers are specified in the log_hosts section of the openstack_user_config.yml file.

The rsyslog server container(s) have logrotate installed and configured with a 14 day retention. All rotated logs are compressed by default.

Finding logs

Logs are accessible in multiple locations within an OpenStack-Ansible deployment:

  • The rsyslog server container collects logs in /var/log/log-storage within directories named after the container or physical host.
  • Each physical host has the logs from its service containers mounted at /openstack/log/.
  • Each service container has its own logs stored at /var/log/<service_name>.