[MOD-2308] ACE syncserver app tuning
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-10-28T01:51:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Sync Server |
Labels | n/a |
Reporter | Nikolai Derzhak |
Assignee | Feon Sua Xin Miao |
Created | 2016-10-24T16:19:05.000+0000 |
Updated | 2018-08-06T17:57:45.000+0000 |
Description
When I enabled health checks - there is no sessions insert anymore. But we have log colleciton flooded with those:
2016-10-20T15:17:13-07:00 | info: Request Succeeded userId=undefined, appId=undefined, method=GET, url=/arrowPing.json, remoteAddress=10.0.5.101, status=200, responseTime=0
2016-10-20T15:17:13-07:00 | info: Request Succeeded userId=undefined, appId=undefined, method=GET, url=/arrowPing.json, remoteAddress=10.0.5.101, status=200, responseTime=0
2016-10-20T15:17:13-07:00 | info: Request Succeeded userId=undefined, appId=undefined, method=GET, url=/arrowPing.json, remoteAddress=10.0.5.101, status=200, responseTime=0
Can we disable logging of health checks there ?
winston.add(winston.transports.MongoDB, config.logOptions);
app.use(filters.logRequest);
I suppose if we add app.get("/arrowPing.json", function (req, res) BEFORE it - it can make similar trick as with sessions - but you check please
master: https://github.com/appcelerator-modules/appcelerator.syncserver.server/pull/84 0.2.6: https://github.com/appcelerator-modules/appcelerator.syncserver.server/pull/83
Cleaning up older fixed tickets from 2016 and earlier. If this ticket should not have been closed, please reopen it.