docs: mention log-level setting in the logs section

This commit is contained in:
Taimoor Zaeem
2025-03-26 11:25:57 -05:00
committed by Steve Chavez
parent aeb246b673
commit f91f47ff57
+6
View File
@@ -17,6 +17,8 @@ Logs
PostgREST logs basic request information to ``stdout``, including the authenticated user if available, the requesting IP address and user agent, the URL requested, and HTTP response status.
With :ref:`log-level` set to ``info``, we get:
.. code::
127.0.0.1 - user [26/Jul/2021:01:56:38 -0500] "GET /clients HTTP/1.1" 200 - "" "curl/7.64.0"
@@ -41,6 +43,10 @@ For diagnostic information about the server itself, PostgREST logs to ``stderr``
06/May/2024:14:11:27 -0500: Received a config reload message on the "pgrst" channel
06/May/2024:14:11:27 -0500: Config reloaded
.. note::
Logs are based on the ``log-level`` setting. See :ref:`log-level`.
.. _sql_query_logs:
SQL Query Logs