Adding log option to config