fixed log path and added to config