Add Log mechanism