We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fec4ed4 commit e9f2ab4Copy full SHA for e9f2ab4
1 file changed
whatsapp_chatbot_python/bot.py
@@ -133,7 +133,10 @@ def _delete_notifications_at_startup(self) -> Optional[NoReturn]:
133
def __prepare_logger(self) -> None:
134
handler = logging.StreamHandler()
135
handler.setFormatter(logging.Formatter(
136
- "%(name)s:%(levelname)s:%(message)s"
+ (
137
+ "%(asctime)s:%(name)s:"
138
+ "%(levelname)s:%(message)s"
139
+ ), datefmt="%Y-%m-%d %H:%M:%S"
140
))
141
142
self.logger.addHandler(handler)
0 commit comments