Skip to content

Commit

Permalink
Merge branch 'main' into feat/logging-customization
Browse files Browse the repository at this point in the history
  • Loading branch information
jiewpeng committed Sep 12, 2022
2 parents 7e40042 + 2d03474 commit 021495c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/source/guides/logging.rst
Expand Up @@ -59,8 +59,8 @@ 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 in both the `api_server` and `runner`
sections of the ``bentoml_configuration.yml``.
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
Expand Down Expand Up @@ -109,11 +109,6 @@ hexadecimal format, consistent with opentelemetry logging instrumentation.
logging:
formatting:
<<<<<<< HEAD
=======
format: "%(asctime)s %(levelname_bracketed)s %(component)s %(message)s%(trace_msg)s"
datefmt: "%Y-%m-%dT%H:%M:%S%z"
>>>>>>> 57805c3c (add docs)
trace_id_format: 032x
span_id_format: 016x
Expand Down

0 comments on commit 021495c

Please sign in to comment.