Skip to content

Commit

Permalink
update default logging to not pad log level (#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp authored Jun 27, 2024
1 parent 8fef07c commit c00d408
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dlt/common/configuration/specs/run_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class RunConfiguration(BaseConfiguration):
dlthub_telemetry: bool = True # enable or disable dlthub telemetry
dlthub_telemetry_endpoint: Optional[str] = "https://telemetry.scalevector.ai"
dlthub_telemetry_segment_write_key: Optional[str] = None
log_format: str = "{asctime}|[{levelname:<21}]|{process}|{thread}|{name}|{filename}|{funcName}:{lineno}|{message}"
log_format: str = "{asctime}|[{levelname}]|{process}|{thread}|{name}|{filename}|{funcName}:{lineno}|{message}"
log_level: str = "WARNING"
request_timeout: float = 60
"""Timeout for http requests"""
Expand Down
2 changes: 1 addition & 1 deletion tests/common/configuration/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ class _SecretCredentials(RunConfiguration):
"dlthub_telemetry": True,
"dlthub_telemetry_endpoint": "https://telemetry-tracker.services4758.workers.dev",
"dlthub_telemetry_segment_write_key": None,
"log_format": "{asctime}|[{levelname:<21}]|{process}|{thread}|{name}|{filename}|{funcName}:{lineno}|{message}",
"log_format": "{asctime}|[{levelname}]|{process}|{thread}|{name}|{filename}|{funcName}:{lineno}|{message}",
"log_level": "WARNING",
"request_timeout": 60,
"request_max_attempts": 5,
Expand Down

0 comments on commit c00d408

Please sign in to comment.