milvus/cpp/conf/server_config.yaml

38 lines
1.2 KiB
YAML
Raw Normal View History

server_config:
address: 127.0.0.1
port: 33001
transfer_protocol: json #optional: binary, compact, json, debug
server_mode: thread_pool #optional: simple, thread_pool
db_path: /tmp/vecwise
db_backend_url: http://127.0.0.1
log_config:
global:
format: "%datetime | %level | %logger | %msg"
filename: "/tmp/logs/vecwise/vecwise_engine-%datetime{%h:%m}-global.log"
enabled: true
to_file: true
to_standard_output: true
subsecond_precision: 3
performance_tracking: false
max_log_file_size: 2097152 # throw log files away after 2mb
debug:
filename: "/tmp/logs/vecwise/vecwise_engine-%datetime{%h:%m}-debug.log"
enabled: true
warning:
filename: "/tmp/logs/vecwise/vecwise_engine-%datetime{%h:%m}-warning.log"
trace:
filename: "/tmp/logs/vecwise/vecwise_engine-%datetime{%h:%m}-trace.log"
verbose:
format: "%datetime{%d/%m/%y} | %level-%vlevel | %msg"
to_file: false
to_standard_output: true
error:
enabled: false
filename: "/tmp/logs/vecwise/vecwise_engine-%datetime{%h:%m}-error.log"
fatal:
enabled: false
filename: "/tmp/logs/vecwise/vecwise_engine-%datetime{%h:%m}-fatal.log"
cache_config:
cache_capacity: 16 # unit: GB