+import logging
+import sys
+
+sys.path.append("MON/")
+
+logging.basicConfig(filename='gnocchi_MON.log', datefmt='%m/%d/%Y %I:%M:%S %p',
+ format='%(asctime)s %(message)s', filemode='a',
+ level=logging.INFO)
+log = logging.getLogger(__name__)
+
+try:
+ import gnocchiclient
+except ImportError:
+ log.warn("Gnocchiclient could not be imported")