adding resource for log dir