diff --git a/.env.example b/.env.example index 0eb2a74..d56796d 100644 --- a/.env.example +++ b/.env.example @@ -58,11 +58,11 @@ DEFAULT_THINKING_MODE_THINKDEEP=high # REDIS_URL=redis://redis:6379/0 # Optional: Logging level (DEBUG, INFO, WARNING, ERROR) -# DEBUG: Shows detailed operational messages for troubleshooting -# INFO: Shows general operational messages (default) +# DEBUG: Shows detailed operational messages for troubleshooting (default) +# INFO: Shows general operational messages # WARNING: Shows only warnings and errors # ERROR: Shows only errors -LOG_LEVEL=INFO +LOG_LEVEL=DEBUG # Optional: Project root override for file sandboxing # If set, overrides the default sandbox directory diff --git a/docker-compose.yml b/docker-compose.yml index eaba1c9..bc2d36f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -44,7 +44,7 @@ services: # Use HOME not PWD: Claude needs access to any absolute file path, not just current project, # and Claude Code could be running from multiple locations at the same time - WORKSPACE_ROOT=${WORKSPACE_ROOT:-${HOME}} - - LOG_LEVEL=${LOG_LEVEL:-INFO} + - LOG_LEVEL=${LOG_LEVEL:-DEBUG} - PYTHONUNBUFFERED=1 volumes: - ${HOME:-/tmp}:/workspace:ro diff --git a/server.py b/server.py index ce4d84d..4e5a8f0 100644 --- a/server.py +++ b/server.py @@ -50,7 +50,7 @@ from tools.models import ToolOutput # Configure logging for server operations # Can be controlled via LOG_LEVEL environment variable (DEBUG, INFO, WARNING, ERROR) -log_level = os.getenv("LOG_LEVEL", "INFO").upper() +log_level = os.getenv("LOG_LEVEL", "DEBUG").upper() # Create timezone-aware formatter