X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=examples%2Funitrun.py;h=88c43bf7a052d738c42cb7a742c537c5f7a8cf41;hb=1bd3bd858aaf21ecccc64134c536d105c10b0d7e;hp=6dbb1b6d5d4314b1034da791631ef83e9a042197;hpb=173b900fcd95b2436af55df2618302146f4a2f40;p=osm%2FN2VC.git diff --git a/examples/unitrun.py b/examples/unitrun.py index 6dbb1b6..88c43bf 100644 --- a/examples/unitrun.py +++ b/examples/unitrun.py @@ -4,6 +4,7 @@ Run this one against a model that has at least one unit deployed. """ import asyncio import functools +import logging from juju.model import Model from juju.unit import Unit @@ -44,4 +45,5 @@ async def watch_model(): model.add_observer(on_model_change) await model.watch() +logging.basicConfig(level=logging.INFO) loop.run_until_complete(watch_model())