update of log.py

Hopefully a working logger...