Add logger to config