tweaks to logging
allow to disable notifications