fix syntax in log resource