added additional logging notifications for swear word detection