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)