Adding logging to sns notify
fixing sns plugin detection