CFY-642 fixed logs.py