error bugfix in decodercut.py
change logging to stdout