merge

Add a log param for create function.