Skip to content

Commit

Permalink
docs: update wrong paths for disabling logs (bentoml#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 authored and jiewpeng committed Sep 12, 2022
1 parent cef08c4 commit f0ec881
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions docs/source/guides/logging.rst
Expand Up @@ -64,17 +64,18 @@ sections of the ``bentoml_configuration.yml``.

.. code-block:: yaml
logging:
access:
enabled: False
# whether to log the size of the request body
request_content_length: True
# whether to log the content type of the request
request_content_type: True
# whether to log the content length of the response
response_content_length: True
# whether to log the content type of the response
response_content_type: True
api_server:
logging:
access:
enabled: False
# whether to log the size of the request body
request_content_length: True
# whether to log the content type of the request
request_content_type: True
# whether to log the content length of the response
response_content_length: True
# whether to log the content type of the response
response_content_type: True
Model Runner Request Logging
Expand Down

0 comments on commit f0ec881

Please sign in to comment.