Modify log format