Fix logging blocks not showing on RTD
This commit is contained in:
@@ -148,14 +148,14 @@ Logging
|
|||||||
|
|
||||||
PostgREST logs basic request information to ``stdout``, including the requesting IP address and user agent, the URL requested, and HTTP response status.
|
PostgREST logs basic request information to ``stdout``, including the requesting IP address and user agent, the URL requested, and HTTP response status.
|
||||||
|
|
||||||
.. code-block:: none
|
.. code::
|
||||||
|
|
||||||
127.0.0.1 - - [26/Jul/2021:01:56:38 -0500] "GET /clients HTTP/1.1" 200 - "" "curl/7.64.0"
|
127.0.0.1 - - [26/Jul/2021:01:56:38 -0500] "GET /clients HTTP/1.1" 200 - "" "curl/7.64.0"
|
||||||
127.0.0.1 - - [26/Jul/2021:01:56:48 -0500] "GET /unexistent HTTP/1.1" 404 - "" "curl/7.64.0"
|
127.0.0.1 - - [26/Jul/2021:01:56:48 -0500] "GET /unexistent HTTP/1.1" 404 - "" "curl/7.64.0"
|
||||||
|
|
||||||
For diagnostic information about the server itself, PostgREST logs to ``stderr``.
|
For diagnostic information about the server itself, PostgREST logs to ``stderr``.
|
||||||
|
|
||||||
.. code-block:: none
|
.. code::
|
||||||
|
|
||||||
12/Jun/2021:17:47:39 -0500: Attempting to connect to the database...
|
12/Jun/2021:17:47:39 -0500: Attempting to connect to the database...
|
||||||
12/Jun/2021:17:47:39 -0500: Listening on port 3000
|
12/Jun/2021:17:47:39 -0500: Listening on port 3000
|
||||||
|
|||||||
Reference in New Issue
Block a user