From d5925d0ac691d0cadc88b588e9cc5601e08ddddf Mon Sep 17 00:00:00 2001 From: Oytun Deniz Donmez Date: Sat, 15 Mar 2025 01:40:00 +0300 Subject: [PATCH] Missing word in logging setup page Running the log in debug mode should be not recommended, I think the word "not" is missing, its understandable when you think about it but probably can confuse someone who is new to programming. --- docs/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/logging.rst b/docs/logging.rst index 5c05ae627..f187110e2 100644 --- a/docs/logging.rst +++ b/docs/logging.rst @@ -41,7 +41,7 @@ Likewise, configuring the log level to ``logging.DEBUG`` is also possible: # Assume client refers to a discord.Client subclass... client.run(token, log_handler=handler, log_level=logging.DEBUG) -This is recommended, especially at verbose levels such as ``DEBUG``, as there are a lot of events logged and it would clog the stderr of your program. +This is not recommended, especially at verbose levels such as ``DEBUG``, as there are a lot of events logged and it would clog the stderr of your program. If you want the logging configuration the library provides to affect all loggers rather than just the ``discord`` logger, you can pass ``root_logger=True`` inside :meth:`Client.run`: