@kripa wrote:
Hi,
I have just updated the sync gateway version from 2.1 to 2.7. But rotations of logging is not working which cause the sync gateway down in case of huge size logs. Please find below the logging configurations which I am using in sync gateway configuration file -
“logging”: {
“log_file_path” : “/home/sync_gateway/logs”,
“console”: {
“log_level”: “info”,
“log_keys”: ["*"],
“color_enabled”: true
},
“error”: {
“enabled”: true,
“rotation”: {
“max_size”: 10,
“max_age”: 180,
“localtime”: false
}
},
“warn”: {
“enabled”: true,
“rotation”: {
“max_size”: 10,
“max_age”: 90,
“localtime”: false
}
},
“info”: {
“enabled”: true,
“rotation”: {
“max_size”: 10,
“max_age”: 5,
“localtime”: false
}
},
“debug”: {
“enabled”: false,
“rotation”: {
“max_size”: 10,
“max_age”: 7,
“localtime”: false
}
}
},Do anyone have idea why its not working. Also i want to disable the ‘sg_stats.log’ logging, which is by default coming. How can i do the same also? Thanks in advance.
Posts: 1
Participants: 1