keep logging in file even when in debug mode