You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of passing the settings per request (too much overhead, too unconventional for documenting/implementing), we do the following
Optionally provide a json file with configuration groups by keys (so angular-project1 : ... would be a set of configuration that we can access through angular-project1 key, etc). These definitions live on the server and must be hardcoded into the application (NOT the repo)
The post route for logging has a parameter that will accept a configuration key string. If it's empty or it doesn't match a configuration, the default configuration will be used, otherwise we will extend the default configuration with the preconfigured key one.
Same for the get method to retrieve an effective configuration.
This is much better since it's very simple to implement on the client side (no extra parameters on the client side), has no overhead on the log requests, and basically makes sense since the server will usually take logging from a small set of applications that can be preconfigured instead of some random request that would need really dynamic configuration
The text was updated successfully, but these errors were encountered:
Instead of passing the settings per request (too much overhead, too unconventional for documenting/implementing), we do the following
angular-project1 : ...
would be a set of configuration that we can access throughangular-project1
key, etc). These definitions live on the server and must be hardcoded into the application (NOT the repo)This is much better since it's very simple to implement on the client side (no extra parameters on the client side), has no overhead on the log requests, and basically makes sense since the server will usually take logging from a small set of applications that can be preconfigured instead of some random request that would need really dynamic configuration
The text was updated successfully, but these errors were encountered: