Skip to content

Commit

Permalink
adding in log message with settings
Browse files Browse the repository at this point in the history
  • Loading branch information
JackLewis-digirati committed Jul 25, 2023
1 parent c645155 commit 54b18f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/protagonist/API/Features/Image/ImageController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using API.Infrastructure;
using API.Settings;
using DLCS.Core;
using DLCS.Core.Collections;
using DLCS.Core.Types;
using DLCS.HydraModel;
using Hydra.Model;
Expand Down Expand Up @@ -98,6 +97,7 @@ public async Task<IActionResult> PutImage(
{
return this.ValidationFailed(validationResult);
}


return await PutOrPatchAsset(customerId, spaceId, imageId, hydraAsset, cancellationToken);
}
Expand Down
2 changes: 2 additions & 0 deletions src/protagonist/API/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ public void ConfigureServices(IServiceCollection services)

var apiSettings = configuration.Get<ApiSettings>();
var cacheSettings = cachingSection.Get<CacheSettings>();

Log.Information("settings: {@Settings}", apiSettings);

services
.AddHttpContextAccessor()
Expand Down

0 comments on commit 54b18f4

Please sign in to comment.