Don't log messages when sending notifications (which are likely to be logged themselves).