I upgraded from SG 2.1 to 2.5. console.log("my log")
logs in the SG fn were appended to sync_gateway_access.log in SG 2.1. This stopped working in SG 2.5. The config for logs is:
{
"logging": {
"log_file_path": "/home/sync_gateway/logs",
"console": {
"log_level": "debug",
"log_keys": [
"*"
],
"color_enabled": true
},
"error": {
"enabled": true,
"rotation": {
"max_size": 100,
"max_age": 360,
"localtime": false
}
},
"warn": {
"enabled": true,
"rotation": {
"max_size": 100,
"max_age": 180,
"localtime": false
}
},
"info": {
"enabled": true,
"rotation": {
"max_size": 100,
"max_age": 6,
"localtime": false
}
},
"debug": {
"enabled": true,
"rotation": {
"max_size": 100,
"max_age": 2,
"localtime": false
}
}
}
}
Despite having debug
and *
I cannot find the logs in either of these files:
- sg_debug.log
- sg_info.log
- sg_warn.log
- sg_error.log
- sync_gateway_access.log
- sync_gateway_error.log
Where should I look, or what needs to be changed to show them again?
Thanks!