# Copyright 2024 RustFS Team # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. [observability] endpoint = "http://localhost:4317" # Default is "http://localhost:4317" if not specified use_stdout = false # Output with stdout, true output, false no output sample_ratio = 1 meter_interval = 30 service_name = "rustfs" service_version = "0.1.0" environments = "develop" logger_level = "debug" local_logging_enabled = true # Default is false if not specified #[[sinks]] #type = "Kafka" #bootstrap_servers = "localhost:9092" #topic = "logs" #batch_size = 100 # Default is 100 if not specified #batch_timeout_ms = 100 # Default is 1000ms if not specified # #[[sinks]] #type = "Webhook" #endpoint = "http://localhost:8080/webhook" #auth_token = "" #batch_size = 100 # Default is 3 if not specified #batch_timeout_ms = 100 # Default is 100ms if not specified [[sinks]] type = "File" path = "deploy/logs/rustfs.log" buffer_size = 102 # Default is 8192 bytes if not specified flush_interval_ms = 1000 flush_threshold = 100 [logger] queue_capacity = 10000