add log resource too