add logging to config