diff --git a/pyproject.toml b/pyproject.toml index f61a699..dc69710 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ profile = "black" [tool.poetry] include = ["src/agent_watcher", "config"] name = "volttron-agent-watcher" -version = "0.1.0" +version = "0.2.0" description = "Agent Watcher is used to monitor agents running on a VOLTTRON instance" authors = ["VOLTTRON Team "] license = "Apache License 2.0" @@ -31,10 +31,10 @@ classifiers = [ [tool.poetry.dependencies] python = ">=3.10,<4.0" -volttron = "^10.0.4rc1" +volttron-core = {path="../volttron-core", develop=true} [tool.poetry.group.dev.dependencies] -volttron-testing = "^0.4.0rc0" +#volttron-testing = "^0.4.0rc0" pytest = "^6.2.5" pytest-cov = "^3.0.0" mock = "^4.0.3" diff --git a/src/agent_watcher/agent.py b/src/agent_watcher/agent.py index 140e771..67554db 100644 --- a/src/agent_watcher/agent.py +++ b/src/agent_watcher/agent.py @@ -24,12 +24,13 @@ import logging -from volttron import utils +import volttron.utils as utils from volttron.client.messaging.health import STATUS_BAD, Status from volttron.client.vip.agent import Agent, Core +from volttron.client.logs import setup_logging from volttron.utils.scheduling import periodic -utils.setup_logging() +setup_logging() _log = logging.getLogger(__name__) __version__ = '0.1'