Can't use logger in init