logging lead id, type and status