set the logger