From 53cca4e0ebec47001055d18ef0c13a473274dde3 Mon Sep 17 00:00:00 2001 From: Ben Zhang Date: Fri, 6 Dec 2024 06:30:30 +0000 Subject: [PATCH] Run set_up_logging in main --- src/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.py b/src/main.py index 9276f19..551b4cd 100644 --- a/src/main.py +++ b/src/main.py @@ -1,11 +1,14 @@ import json import os from watcloud_utils.typer import app +from watcloud_utils.logging import set_up_logging from .agent import Agent WORKSPACE_DIR = os.getenv("WORKSPACE_DIR", "/tmp/workspace") +set_up_logging() + @app.command() def run_agent(): agent = Agent(json.loads(os.environ["BUCKET_CONFIG"]), json.loads(os.environ["REPO_CONFIG"]), WORKSPACE_DIR)