open logs before checking dirs, fail gracefully