Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(logger): fix file handler not outputing DEBUG

Fabrice Hong0f3c85335c5d
diff --git a/scripts/logger.py b/scripts/logger.py
index 005210c4bb..a609e60275 100644
--- a/scripts/logger.py
+++ b/scripts/logger.py
@@ -45,7 +45,7 @@ class Logger(metaclass=Singleton):
# Info handler in activity.log
self.file_handler = logging.FileHandler(os.path.join(log_dir, log_file))
- self.file_handler.setLevel(logging.INFO)
+ self.file_handler.setLevel(logging.DEBUG)
info_formatter = AutoGptFormatter('%(asctime)s %(levelname)s %(title)s %(message_no_color)s')
self.file_handler.setFormatter(info_formatter)