Skip to content

Commit

Permalink
docs: update wrong paths for disabling logs (#2974)
Browse files Browse the repository at this point in the history
YAML fields for disabling access logs on docs is not correct before. This PR address this.
  • Loading branch information
creativedutchmen committed Sep 8, 2022
1 parent c075e12 commit 4b9a7e7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/source/guides/logging.rst
Expand Up @@ -59,13 +59,14 @@ logs are logged under the ``"bentoml"`` namespace.
Web Service Request Logging
"""""""""""""""""""""""""""

For web requests, logging can be enabled and disabled using the `logging.access` parameter at the
For web requests, logging can be enabled and disabled using the `api_server.logging.access` parameter at the
top level of the ``bentoml_configuration.yml``.

.. code-block:: yaml
logging:
access:
api_server:
logging:
access:
enabled: False
# whether to log the size of the request body
request_content_length: True
Expand Down

0 comments on commit 4b9a7e7

Please sign in to comment.