Modify log output.