Remove logger injection