Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2308] ACE syncserver app tuning

GitHub Issuen/a
TypeStory
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-10-28T01:51:22.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsSync Server
Labelsn/a
ReporterNikolai Derzhak
AssigneeFeon Sua Xin Miao
Created2016-10-24T16:19:05.000+0000
Updated2018-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

Comments

  1. Feon Sua Xin Miao 2016-10-28

    master: https://github.com/appcelerator-modules/appcelerator.syncserver.server/pull/84 0.2.6: https://github.com/appcelerator-modules/appcelerator.syncserver.server/pull/83
  2. Eric Merriman 2018-08-06

    Cleaning up older fixed tickets from 2016 and earlier. If this ticket should not have been closed, please reopen it.

JSON Source