We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5007a5a commit af48b8aCopy full SHA for af48b8a
Makefile
@@ -7,7 +7,7 @@ console:
7
uv run textual console -x SYSTEM -x EVENT -x DEBUG -x INFO
8
9
dev:
10
- uv run textual run --dev -c chat
+ LOG_LEVEL=NOTSET uv run textual run --dev -c chat
11
12
lint:
13
uv run ruff check --fix src
src/agent_chat_cli/utils/logger.py
@@ -1,13 +1,16 @@
1
import json
2
import logging
3
+import os
4
from typing import Any
5
6
from textual.logging import TextualHandler
def setup_logging():
+ level = os.getenv("LOG_LEVEL", "INFO").upper()
+
logging.basicConfig(
- level="NOTSET",
+ level=level,
14
handlers=[TextualHandler()],
15
)
16
0 commit comments