check  exists log dir