.. _sample-configuration:

-------
Samples
-------

The following sections show sample configuration files for monasca-log-api and
related utilities. These are generated from the code
(apart from the samples for logging and paster) and reflect the current state
of code in the monasca-log-api repository.


.. _sample-configuration-api:

Sample Configuration For Application
------------------------------------

This sample configuration can also be viewed in `log-api.conf.sample
<../_static/log-api.conf.sample>`_.

.. literalinclude:: ../_static/log-api.conf.sample

.. _sample-configuration-logging:

Sample Configuration For Logging
--------------------------------

This sample configuration can also be viewed in `log-api-logging.conf
<https://github.com/openstack/monasca-log-api/blob/master/etc/monasca/log-api-logging.conf>`_.

.. literalinclude:: ../../../etc/monasca/log-api-logging.conf


Sample Configuration For Paste
------------------------------

This sample configuration can also be viewed in `log-api-paste.ini
<https://github.com/openstack/monasca-log-api/blob/master/etc/monasca/log-api-paste.ini>`_.

.. literalinclude:: ../../../etc/monasca/log-api-paste.ini
