kitty
kitty copied to clipboard
Logger displays duplicated messages
I noticed that I get duplicated logger messages on the terminal.
I've added following code to my main to fix the issue.
from kitty.core.kitty_object import KittyObject
# Remove duplicated log messages
logger = KittyObject.get_logger()
logger.propagate = False
KittyObject._logger = logger
But this issue can be fixed if we add logger.propagate = False to KittyObject method get_logger.
Not sure if that is intended behavior or not. But posting this here in case someone else runs into the same problem.
Thank you for creating Kitty!