Set LogsDir for test.
Convert nil resources to empty strings.