Make logger not static