Skip to content

Commit

Permalink
New translations logger.md (Korean)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahopkins committed Jun 30, 2024
1 parent d33fcff commit 98f91de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/content/ko/plugins/sanic-ext/logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ app.config.LOGGING = True

## How does it work

When enabled, the extension will create a `multoprocessing.Queue`. It will remove all handlers on the [default Sanic loggers](../../guide/best-practices/logging.md) and replace them with a [`QueueHandler`](https://docs.python.org/3/library/logging.handlers.html#queuehandler). When a message is logged, it will be pushed into the queue by the handler, and read by the background process to the log handlers that were originally in place. This means you can still configure logging as normal and it should "just work."
When enabled, the extension will create a `multiprocessing.Queue`. It will remove all handlers on the [default Sanic loggers](../../guide/best-practices/logging.md) and replace them with a [`QueueHandler`](https://docs.python.org/3/library/logging.handlers.html#queuehandler). When a message is logged, it will be pushed into the queue by the handler, and read by the background process to the log handlers that were originally in place. This means you can still configure logging as normal and it should "just work."

## Configuration

Expand Down

0 comments on commit 98f91de

Please sign in to comment.