adding logging to config