Unify where loglevels are set