From c6d8ec8798924cb4dc0d58d5b91a163cb80b5f7b Mon Sep 17 00:00:00 2001 From: graboskyc Date: Fri, 4 Mar 2016 16:33:23 -0500 Subject: [PATCH] added logger --- src/sampleShelldriver.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sampleShelldriver.py b/src/sampleShelldriver.py index 63fbb21..4da899f 100644 --- a/src/sampleShelldriver.py +++ b/src/sampleShelldriver.py @@ -1,4 +1,4 @@ -from cloudshell.shell.core.driver_context import * +from cloudshell.shell.core.driver_context import * from cloudshell.shell.core.resource_driver_interface import ResourceDriverInterface @@ -13,6 +13,8 @@ def initialize(self, context): """ :type context: cloudshell.shell.core.driver_context.InitCommandContext """ + l = get_qs_logger() + l.error('shouldnt have let Chris modify your code base') return 'Finished initializing' # Destroy the driver session, this function is called everytime a driver instance is destroyed