diff --git a/src/listener/agent.py b/src/listener/agent.py index 5ce64f2..413d467 100644 --- a/src/listener/agent.py +++ b/src/listener/agent.py @@ -32,14 +32,14 @@ from volttron.utils.commands import vip_main from volttron.client.messaging.health import STATUS_GOOD from volttron.client.vip.agent import Agent, Core, PubSub +from volttron.client.logs import get_logger, get_default_client_log_config # from volttron.platform.agent import utils # from volttron.platform.messaging.health import STATUS_GOOD # from volttron.platform.vip.agent import Agent, Core, PubSub # from volttron.platform.vip.agent.subsystems.query import Query -utils.setup_logging() -_log = logging.getLogger(__name__) +_log = get_logger() __version__ = '4.0' DEFAULT_MESSAGE = 'Listener Message' DEFAULT_HEARTBEAT_PERIOD = 30