This seems to be the more appropriate fix for the .log error