Added log plugin hooks.