logger extension improved