Merge pull request #6764 from nextcloud/enh/log-fields

Update log filed schema
This commit is contained in:
Christoph Wurst
2021-06-10 11:14:50 +02:00
committed by GitHub

View File

@@ -121,8 +121,10 @@ Log field breakdown
* **app**: affected app (always admin_audit in audit.log)
* **method**: HTTP method, for example GET, POST, PROPFIND, etc. empty on occ calls
* **url**: request path (if applicable empty on occ calls)
* **message**: event information
* **message**: event information message
* **userAgent**: user agent (if applicable empty on occ calls)
* **exception**: Full exception with trace (if applicable)
* **data** additional structured data (if applicable)
* **version**: Nextcloud version at the time of request
Empty value are written as two dashes: "--".
@@ -147,4 +149,4 @@ If required, the name and path of the audit log file can be customized by using
Find detailed documentation on auditable events for enterprises in our `customer portal <https://portal.nextcloud.com/article/using-the-audit-log-44.html>`_.
.. _PHP date function: http://www.php.net/manual/en/function.date.php
.. _PHP date function: http://www.php.net/manual/en/function.date.php