Added logging option to config