Issue 1: fix logger injection