You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each log line will contain an ``event`` type, a ``timestamp`` and a ``level``.
29
50
Dependent on your configured ``LOG_LEVEL`` (see :ref:`installation_env_config` for more information),
30
51
only log lines with of that level or higher will be emitted.
31
52
32
-
Objects API log events
53
+
API log events
33
54
----------------------
34
55
35
-
Below is the list of logging ``event`` types that Objects API can emit. In addition to the mentioned
56
+
Below is the list of logging ``event`` types that Objects and Objecttypes API can emit. In addition to the mentioned
36
57
context variables, these events will also have the **request bound metadata** described in the :ref:`django-structlog documentation <request_events>`.
37
58
38
-
API
59
+
Objects API
39
60
~~~
40
61
41
62
* ``objecttypes_api_request_failure``: a request to the Objecttypes API has failed. Additional context: ``exc_info``.
42
63
* ``search_failed_for_datastore``: attempted to perform ``jsonpath`` search for a backend that does not support this operation. Additional context: ``exc_info``.
43
64
* ``object_created``: created an ``Object`` via the API. Additional context: ``object_uuid``, ``objecttype_uuid``, ``objecttype_version``, ``token_identifier``, ``token_application``.
44
65
* ``object_updated``: updated an ``Object`` via the API. Additional context: ``object_uuid``, ``objecttype_uuid``, ``objecttype_version``, ``token_identifier``, ``token_application``.
45
66
67
+
Objecttypes API
68
+
~~~
69
+
70
+
* ``objecttypes_api_request_failure``: a request to the Objecttypes API has failed. Additional context: ``exc_info``.
71
+
* ``search_failed_for_datastore``: attempted to perform ``jsonpath`` search for a backend that does not support this operation. Additional context: ``exc_info``.
72
+
* ``objecttype_created``: created an ``Objecttype`` via the API. Additional context: ``uuid``, ``naam``, ``token_identifier``, ``token_application``.
73
+
* ``objecttype_updated``: updated an ``Objecttype`` via the API. Additional context: ``uuid``, ``naam``, ``token_identifier``, ``token_application``.
74
+
* ``objecttype_deleted``: deleted an ``Objecttype`` via the API. Additional context: ``uuid``, ``naam``, ``token_identifier``, ``token_application``.
0 commit comments