Skip to content

Commit c04485e

Browse files
author
Mike Morgan
committed
fix: Suppress noisy httpx and history log messages in CLI
1 parent 1ed01b6 commit c04485e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cortex/cli.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@
22
import os
33
import argparse
44
import time
5+
import logging
56
from typing import List, Optional
67
import subprocess
78
from datetime import datetime
89

10+
# Suppress noisy log messages in normal operation
11+
logging.getLogger("httpx").setLevel(logging.WARNING)
12+
logging.getLogger("cortex.installation_history").setLevel(logging.ERROR)
13+
914
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
1015

1116
from LLM.interpreter import CommandInterpreter
1217
from cortex.coordinator import InstallationCoordinator, StepStatus
13-
from installation_history import (
18+
from cortex.installation_history import (
1419
InstallationHistory,
1520
InstallationType,
1621
InstallationStatus

0 commit comments

Comments
 (0)