add logmapping