Skip to content

Commit

Permalink
audit log: minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
xuniq committed Feb 2, 2024
1 parent 2ab386d commit 97456da
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions doc/enterprise/audit_log.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,15 @@ forces the audit subsystem to log the primary key instead of a full tuple in DML
Examples of audit log entries
-----------------------------

In the example, the logs are written to the ``audit_tarantool.log`` file.
In this example, the following audit log configuration is used:

First, create a space ``bands`` and check the logs in the file after the creation:
.. literalinclude:: /code_snippets/snippets/config/instances.enabled/audit_log/config.yaml
:language: yaml
:start-at: audit_log
:end-at: extract_key: true
:dedent:

Create a space ``bands`` and check the logs in the file after the creation:

.. literalinclude:: /code_snippets/snippets/config/instances.enabled/audit_log/myapp.lua
:language: lua
Expand Down

0 comments on commit 97456da

Please sign in to comment.