Fix AttributeError exception in log.py with python3.4
Merge pull request #579 from skgsergio/fix_log_python3.4

Fix AttributeError exception in log.py with python3.4