.. _documentationstyleguide/bareosspecificformatting/bareoslogging:bareos logging:

Bareos Logging
==============

If you want to display Bareos specific logs, use following formatting:

.. ${PERL} 's#\{logging\}\{(.*)\}#\n.. code-block:: sh\n    :caption: \1\n#g'   ${DESTFILE}

.. literalinclude:: /DocumentationStyleGuide/example/code-block-bareoslog.rst.inc

The output will look like this:

.. include:: /DocumentationStyleGuide/example/code-block-bareoslog.rst.inc
