Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.0
-
Security Level: Public
-
None
-
CBG Sprint 84, CBG Sprint 85
-
3
Description
SG Version: 3.0.0-427
SG Config: sgcollect
Steps to Reproduce:
1. Setup and start server
2. Set up SGW and have sgw config
{
|
"bootstrap": { |
"server_tls_skip_verify": true, |
"username": "data-bucket", |
"password": "password", |
|
|
|
"group_id": "persistent_group1", |
"server":"couchbases://172.23.106.106:11207" |
},
|
"api":{ |
"admin_interface_authentication": false, |
"metrics_interface_authentication": false, |
"public_interface":":4984", |
"admin_interface":"0.0.0.0:4985" |
},
|
"logging": { |
"log_file_path": "/tmp/sg_logs", |
"console": { |
"log_keys": ["*"], |
"log_level": "debug", |
"rotation": { |
"max_size": 1, |
"max_age": 30, |
"localtime": true |
}
|
},
|
"error": { |
"enabled": true, |
"rotation": { |
"max_size": 1, |
"max_age": 180, |
"localtime": true |
}
|
},
|
"warn": { |
"enabled": true, |
"rotation": { |
"max_size": 1, |
"max_age": 90, |
"localtime": true |
}
|
},
|
"info": { |
"enabled": true, |
"rotation": { |
"max_size": 1, |
"max_age": 30, |
"localtime": true |
}
|
},
|
"debug": { |
"enabled": true, |
"rotation": { |
"max_size": 1, |
"max_age": 30, |
"localtime": true |
}
|
}
|
}
|
}
|
|
Actual Result: log file should generate on custom log path
Expected Result: It always generates on default path /home/sync_gateway/logs
SGW LOGS: sgcollect info : sgcollect_info_dyn_log.zip
Attachments
Issue Links
- relates to
-
CBG-1760 Error upfront when the configured logFilePath is not writable
- Closed