Stiivi/cubes — pull request #178 by Ecno92 (2014-03-23 17:22:14+00:00)
Title: Fixed logging to a file since it didn't work anymore.

Logging to a file was broken since ```logging.FileHandler``` was not imported and it conflicted with the logging from cubes. I changed it a little to support logging to a file and I cleaned up the code.