small update to the log class