example for logging n chat mapper