added mapper type to change to log