Skip to content

Add subdomain to fields sent in request logging

Choose a tag to compare

@zachelrath zachelrath released this 16 Aug 13:41
· 47 commits to master since this release
07d18b8

Adds a new method, ContextWithSiteAndUserInfo(), which can be used by a spec-implementing service to add a Skuid Site's Id and Subdomain, as well as a User's Id, to a request context, and modifies the logging middleware to include "subdomain", if it is defined, as an additional field in structured request logging.