diff --git a/faceverify/dct_ubm.py b/faceverify/dct_ubm.py
index fcc07347c92f36761abff8e0c2b41159451b52a5..fe2a72bd9b12970d818f0e2cb55b752702e6fa4b 100644
--- a/faceverify/dct_ubm.py
+++ b/faceverify/dct_ubm.py
@@ -24,6 +24,15 @@ import os, sys
 import numpy
 from matplotlib import pyplot
 
+# setup the logging system
+import logging
+formatter = logging.Formatter("%(name)s@%(asctime)s -- %(levelname)s: %(message)s")
+logger = logging.getLogger("bob")
+for handler in logger.handlers:
+  handler.setFormatter(formatter)
+logger.setLevel(logging.INFO)
+
+
 # This is the base directory where by default the AT&T images are found. You can
 # overwrite this  directory on the command line
 global ATNT_IMAGE_DIRECTORY