Changing logging to debug