@@ -169,7 +169,7 @@ Interval
169169=====
170170
171171DRF 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
173173ends.
174174
175175Specify an interval (In Seconds).
@@ -186,8 +186,7 @@ Specify an interval (In Seconds).
186186Skip 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:
343342http://127.0.0.1:8000/api/v1/?page=123 DRF_API_LOGGER_PATH_TYPE possible
344343values are: 1. ABSOLUTE (Default) :
0 commit comments