added check for log dir
removed log dir from git