add logtitle and logcontent