There should be a centralized way to log server errors like the one reported at #636
User story
As a system administrator
I would like to review log files for the Apinf platform
so that I can identify issues, warnings, etc. and take corrective action
Feature
Research and choose a logging framework for Apinf (Meteor.js). Add the logging framework/package. Determine what functions, e.g. server methods, need logging support and add calls to the logger with relevant details.
Once logging is enabled, it will be useful to log errors (e.g. within try/catch statements).
Research
The Winston logging library may be a good solution:
Copied from #615
Description
There should be a centralized way to log server errors like the one reported at #636
User story
Feature
Research and choose a logging framework for Apinf (Meteor.js). Add the logging framework/package. Determine what functions, e.g. server methods, need logging support and add calls to the logger with relevant details.
Once logging is enabled, it will be useful to log errors (e.g. within try/catch statements).
Research
The Winston logging library may be a good solution:
Related
syncApiBackends
method.Definition of done