Trying to get the log to work