Failover ees/loggers improved + tests

This commit is contained in:
adi
2022-07-11 17:59:20 +03:00
committed by Dan Christian Bogos
parent 81793af5de
commit bf870b1e2b
35 changed files with 1046 additions and 699 deletions

View File

@@ -1,7 +1,6 @@
{
"general": {
"log_level": 7,
"reply_timeout": "50s"
},
@@ -24,6 +23,11 @@
"attributes_conns": ["*internal"]
},
"logger": {
"type": "*syslog", // controls the destination of logs <*syslog|*stdout|*kafka>
"level": 7, // system level precision for floats
},
"admins": {
"enabled": true
}

View File

@@ -3,8 +3,10 @@
//
// Copyright (C) ITsysCOM GmbH
"general": {
"log_level": 7,
"logger": {
"type": "*syslog", // controls the destination of logs <*syslog|*stdout|*kafka>
"level": 7, // system level precision for floats
},
"listen": {
@@ -513,10 +515,10 @@
{
"id": "KafkaExporter",
"type": "*kafkaJSONMap",
"export_path": "127.0.0.1:9092",
"export_path": "localhost:9092",
"concurrent_requests": 0,
"opts": {
"kafkaTopic": "cgrates"
"kafkaTopic": "TutorialTopic"
},
"timezone": "",
"filters": [],

View File

@@ -4,15 +4,20 @@
"reply_timeout": "50s"
},
// "logger": {
// "type": "*kafkaLog", // controls the destination of logs <*syslog|*stdout|*kafka>
// "level": 6, // system level precision for floats
// "opts": {
// "kafka_conn": "localhost:9092", // the connection trough kafka
// "kafka_topic": "TutorialTopic", // the topic from where the events are exported
// "attempts": 1, // number of attempts of connecting
// },
//},
"logger": {
"type": "*kafka", // controls the destination of logs <*syslog|*stdout|*kafka>
"type": "*syslog", // controls the destination of logs <*syslog|*stdout|*kafka>
"level": 6, // system level precision for floats
"opts": {
"kafka_conn": "192.168.55.44:9092", // the connection trough kafka
"kafka_topic": "TutorialTopic", // the topic from where the events are exported
"attempts": 1, // number of attempts of connecting
},
},
},
"listen": {
"rpc_json": ":2012",