[virt-tools-list] [virt-bootstrap] [PATCH v3 02/12] Specify logger name when executed directly

Radostin Stoyanov rstoyanov1 at gmail.com
Thu Jul 20 11:29:37 UTC 2017


---
 src/virtBootstrap/virt_bootstrap.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/virtBootstrap/virt_bootstrap.py b/src/virtBootstrap/virt_bootstrap.py
index c66cc92..fe27398 100755
--- a/src/virtBootstrap/virt_bootstrap.py
+++ b/src/virtBootstrap/virt_bootstrap.py
@@ -215,4 +215,5 @@ def main():
 
 
 if __name__ == '__main__':
+    logger = logging.getLogger('virt_bootstrap')
     sys.exit(main())
-- 
2.9.4




More information about the virt-tools-list mailing list