mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 16:48:45 +05:00
Failover ees/loggers improved + tests
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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": [],
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user