flogs the log