re-config logging