Fix wrong import of logger