Add "log" command