setSensitiveLoggingSettings - Cognigy Documentation
Syntax
setSensitiveLoggingSettings(settings)
Description
Adjusts the masking and redaction configuration for the conversation.
Parameters:
settings:ISensitiveLoggingSettings— an object containing the sensitive logging settings.
ISensitiveLoggingSettings Object Structure
typescript
export interface ISensitiveLoggingSettings {
maskLogging: boolean;
maskAnalytics: boolean;
maskIPAddress?: boolean;
disableConversations: boolean;
disableIntentTrainer: boolean;
}
Returns: void
Example
// Example: Update sensitive logging settings for the current conversation
setSensitiveLoggingSettings({
maskLogging: true,
maskAnalytics: false,
disableConversations: false,
disableIntentTrainer: true,
});
Last modified on April 21, 2026