some logger rework