mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-04 11:55:51 +00:00
75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
{
|
|
"database": {
|
|
"type": "cassandra",
|
|
"cassandra": {
|
|
"contact_points": "127.0.0.1",
|
|
"port": 9042,
|
|
"keyspace": "clio",
|
|
"replication_factor": 1,
|
|
"table_prefix": "",
|
|
"max_write_requests_outstanding": 25000,
|
|
"max_read_requests_outstanding": 30000,
|
|
"threads": 8
|
|
}
|
|
},
|
|
"etl_sources": [
|
|
{
|
|
"ip": "127.0.0.1",
|
|
"ws_port": "6006",
|
|
"grpc_port": "50051"
|
|
}
|
|
],
|
|
"dos_guard":
|
|
{
|
|
"whitelist":["127.0.0.1"]
|
|
},
|
|
"cache":
|
|
{
|
|
"peers": [{"ip":"127.0.0.1","port":51234}]
|
|
},
|
|
"server":{
|
|
"ip": "0.0.0.0",
|
|
"port": 51233
|
|
},
|
|
"log_channels": [
|
|
{
|
|
"channel": "Backend",
|
|
"log_level": "fatal"
|
|
},
|
|
{
|
|
"channel": "WebServer",
|
|
"log_level": "info"
|
|
},
|
|
{
|
|
"channel": "Subscriptions",
|
|
"log_level": "info"
|
|
},
|
|
{
|
|
"channel": "RPC",
|
|
"log_level": "error"
|
|
},
|
|
{
|
|
"channel": "ETL",
|
|
"log_level": "debug"
|
|
},
|
|
{
|
|
"channel": "Performance",
|
|
"log_level": "trace"
|
|
}
|
|
],
|
|
"log_level": "info",
|
|
"log_format": "%TimeStamp% (%SourceLocation%) [%ThreadID%] %Channel%:%Severity% %Message%", // This is the default format
|
|
"log_to_console": true,
|
|
"log_directory": "./clio_log",
|
|
"log_rotation_size": 2048,
|
|
"log_directory_max_size": 51200,
|
|
"log_rotation_hour_interval": 12,
|
|
"log_tag_style": "uint",
|
|
"extractor_threads": 8,
|
|
"read_only": false,
|
|
//"start_sequence": [integer] the ledger index to start from,
|
|
//"finish_sequence": [integer] the ledger index to finish at,
|
|
//"ssl_cert_file" : "/full/path/to/cert.file",
|
|
//"ssl_key_file" : "/full/path/to/key.file"
|
|
}
|