added reason to logging in idler.py