Skip to content

Commit 3486184

Browse files
Update index.rst
1 parent 83fc966 commit 3486184

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

docs/index.rst

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Interval
169169
=====
170170

171171
DRF API Logger also waits for a period of time. If the queue is not full
172-
and there are some logs to be inserted, it inserts after the interval
172+
and there are some logs to be inserted into the DB, it inserts after the interval
173173
ends.
174174

175175
Specify an interval (In Seconds).
@@ -186,8 +186,7 @@ Specify an interval (In Seconds).
186186
Skip the namespace
187187
==================
188188

189-
Skip namespace You can skip the entire app to be logged
190-
into the database by specifying the namespace of the app as a list.
189+
Skip namespace You can skip the entire app to be logged into the database by specifying the namespace of the app as a list.
191190

192191
.. code:: python
193192
@@ -294,17 +293,6 @@ This behavior can be configured with the following options additional:
294293
DRF_API_LOGGER_MAX_REQUEST_BODY_SIZE = 1024 # default to -1, no limit.
295294
DRF_API_LOGGER_MAX_RESPONSE_BODY_SIZE = 1024 # default to -1, no limit.
296295
297-
API with or without Host
298-
========================
299-
300-
You can specify whether an endpoint of API should have absolute URI or
301-
not by setting this variable in the DRF settings.py file.
302-
303-
.. code:: python
304-
305-
DRF_API_LOGGER_PATH_TYPE = 'ABSOLUTE' # Default to ABSOLUTE if not specified
306-
# Possible values are ABSOLUTE, FULL_PATH or RAW_URI
307-
308296
Tracing
309297
=======
310298

@@ -339,6 +327,17 @@ can specify the header name.
339327
340328
DRF_API_LOGGER_TRACING_ID_HEADER_NAME: str = 'X_TRACING_ID' # Replace with actual header name.
341329
330+
API with or without Host
331+
========================
332+
333+
You can specify whether an endpoint of API should have absolute URI or
334+
not by setting this variable in the DRF settings.py file.
335+
336+
.. code:: python
337+
338+
DRF_API_LOGGER_PATH_TYPE = 'ABSOLUTE' # Default to ABSOLUTE if not specified
339+
# Possible values are ABSOLUTE, FULL_PATH or RAW_URI
340+
342341
Considering we are accessing the following URL:
343342
http://127.0.0.1:8000/api/v1/?page=123 DRF_API_LOGGER_PATH_TYPE possible
344343
values are: 1. ABSOLUTE (Default) :

0 commit comments

Comments
 (0)