Add log support.