zwrite and zwrite_json return 1 on success
notifier requires logger now