Changed variable name to disambigurate from "log"