Skip to content

Commit a890610

Browse files
author
Zhe Yu
committed
replace print with logger.
1 parent ae09089 commit a890610

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/vectorcode/common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,8 @@ async def start_server(configs: Config):
7878
if not os.path.isdir(configs.db_log_path):
7979
os.makedirs(configs.db_log_path)
8080
if not os.path.isdir(db_path):
81-
print(
81+
logger.warning(
8282
f"Using local database at {os.path.expanduser('~/.local/share/vectorcode/chromadb/')}.",
83-
file=sys.stderr,
8483
)
8584
db_path = os.path.expanduser("~/.local/share/vectorcode/chromadb/")
8685
env = os.environ.copy()

0 commit comments

Comments
 (0)