aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autogpts/autogpt/autogpt/logs/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogpts/autogpt/autogpt/logs/config.py b/autogpts/autogpt/autogpt/logs/config.py
index 007aeb3f1..3b6860e8f 100644
--- a/autogpts/autogpt/autogpt/logs/config.py
+++ b/autogpts/autogpt/autogpt/logs/config.py
@@ -130,7 +130,7 @@ def configure_logging(
# Structured logging is used for cloud environments,
# where logging to a file makes no sense.
- if log_format == LogFormatName.STRUCTURED:
+ if config.log_format == LogFormatName.STRUCTURED:
config.plain_console_output = True
config.log_file_format = None