Add notification log api
Backport 4.4 api exception class