There was minimal to no logging previously. I've added zap as the supporting logging framework and an internal library to handle setting it up. The purpose of the logs are to improve clarity for the server, debug various operation issues, spot potential areas for improvements in efficiency and find bugs.
Most of the internal logs are set to debug while the API logs are info level. This is too avoid clutter since there can be many internal operations happening at once due to concurrency.
There was minimal to no logging previously. I've added
zap
as the supporting logging framework and an internal library to handle setting it up. The purpose of the logs are to improve clarity for the server, debug various operation issues, spot potential areas for improvements in efficiency and find bugs.Most of the internal logs are set to debug while the API logs are info level. This is too avoid clutter since there can be many internal operations happening at once due to concurrency.