Skip to content

Commit c20a5b0

Browse files
more info for turn_off_logging
1 parent f51036e commit c20a5b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/my-website/docs/proxy/config_settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ litellm_settings:
2121
failure_callback: ["sentry"] # list of failure callbacks
2222
callbacks: ["otel"] # list of callbacks - runs on success and failure
2323
service_callbacks: ["datadog", "prometheus"] # logs redis, postgres failures on datadog, prometheus
24-
turn_off_message_logging: boolean # prevent the messages and responses from being logged to on your callbacks, but request metadata will still be logged.
24+
turn_off_message_logging: boolean # prevent the messages and responses from being logged to on your callbacks, but request metadata will still be logged. Useful for privacy/compliance when handling sensitive data.
2525
redact_user_api_key_info: boolean # Redact information about the user api key (hashed token, user_id, team id, etc.), from logs. Currently supported for Langfuse, OpenTelemetry, Logfire, ArizeAI logging.
2626
langfuse_default_tags: ["cache_hit", "cache_key", "proxy_base_url", "user_api_key_alias", "user_api_key_user_id", "user_api_key_user_email", "user_api_key_team_alias", "semantic-similarity", "proxy_base_url"] # default tags for Langfuse Logging
2727

@@ -131,7 +131,7 @@ general_settings:
131131
| failure_callback | array of strings | List of failure callbacks [Doc Proxy logging callbacks](logging), [Doc Metrics](prometheus) |
132132
| callbacks | array of strings | List of callbacks - runs on success and failure [Doc Proxy logging callbacks](logging), [Doc Metrics](prometheus) |
133133
| service_callbacks | array of strings | System health monitoring - Logs redis, postgres failures on specified services (e.g. datadog, prometheus) [Doc Metrics](prometheus) |
134-
| turn_off_message_logging | boolean | If true, prevents messages and responses from being logged to callbacks, but request metadata will still be logged [Proxy Logging](logging) |
134+
| turn_off_message_logging | boolean | If true, prevents messages and responses from being logged to callbacks, but request metadata will still be logged. Useful for privacy/compliance when handling sensitive data [Proxy Logging](logging) |
135135
| modify_params | boolean | If true, allows modifying the parameters of the request before it is sent to the LLM provider |
136136
| enable_preview_features | boolean | If true, enables preview features - e.g. Azure O1 Models with streaming support.|
137137
| redact_user_api_key_info | boolean | If true, redacts information about the user api key from logs [Proxy Logging](logging#redacting-userapikeyinfo) |

docs/my-website/docs/proxy/logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ components in your system, including in logging tools.
6060

6161
### Redact Messages, Response Content
6262

63-
Set `litellm.turn_off_message_logging=True` This will prevent the messages and responses from being logged to your logging provider, but request metadata - e.g. spend, will still be tracked.
63+
Set `litellm.turn_off_message_logging=True` This will prevent the messages and responses from being logged to your logging provider, but request metadata - e.g. spend, will still be tracked. Useful for privacy/compliance when handling sensitive data.
6464

6565
<Tabs>
6666

0 commit comments

Comments
 (0)