CmsUser user = CmsUtils.getUser(request);
String ip = RequestUtils.getIpAddr(request);
UrlPathHelper helper = new UrlPathHelper();
String uri = helper.getOriginatingRequestUri(request);
Date date = new Date();
CmsLog log = save(CmsLog.OPERATING, site, user, uri, ip, date,
MessageResolver.getMessage(request, title), content);
return log;
}