diff --git a/litellm/integrations/minio.py b/litellm/integrations/minio.py index a6742349df0..583036c4736 100644 --- a/litellm/integrations/minio.py +++ b/litellm/integrations/minio.py @@ -229,6 +229,12 @@ class MinioLogger(CustomLogger): print_verbose(f"\nMinIO Logger - Logging payload = {payload_str}") # Upload to MinIO using simple boto3 put_object + verbose_logger.debug( + f"minio logger put_object args: Bucket={self.bucket_name}, " + f"Key={s3_object_key}, " + f"Body=<{len(payload_str)} bytes>, " + f"ContentType=application/json" + ) response = self.s3_client.put_object( Bucket=self.bucket_name, Key=s3_object_key, diff --git a/litellm/proxy/proxy_config.yaml b/litellm/proxy/proxy_config.yaml index 08f014dd275..db7b507f218 100644 --- a/litellm/proxy/proxy_config.yaml +++ b/litellm/proxy/proxy_config.yaml @@ -23,12 +23,20 @@ search_tools: api_key: os.environ/EXA_API_KEY - -# for /files endpoints -files_settings: - - custom_llm_provider: openai - api_key: os.environ/OPENAI_API_KEY - - litellm_settings: - callbacks: ["datadog"] \ No newline at end of file + # Comprehensive logging settings + store_audit_logs: true + verbose: true + log_level: "DEBUG" # Options: DEBUG, INFO, WARNING, ERROR + success_callback: ["minio"] + s3_callback_params: + s3_endpoint_url: "https://mgtd-ai-m01.dcs.leidos.com:9000" # Replace with your Minio server URL and port + s3_aws_access_key_id: "" + s3_aws_secret_access_key: "" + s3_region_name: "minio" # This can be any value for Minio + s3_bucket_name: "litellm-logs" # Replace with your bucket name + s3_use_ssl: False + s3_verify: False + cache: True + cache_params: + type: local \ No newline at end of file