Made logging use debug instead of info