feat(mxgateway): adopt AddZbSerilog — MEL→Serilog provider swap (behaviour-preserving)

This commit is contained in:
Joseph Doherty
2026-06-01 15:43:10 -04:00
parent e39972357b
commit c51b6f9ce4
2 changed files with 13 additions and 0 deletions
@@ -15,6 +15,7 @@ using ZB.MOM.WW.MxGateway.Server.Security.Authentication;
using ZB.MOM.WW.MxGateway.Server.Security.Authorization;
using ZB.MOM.WW.MxGateway.Server.Sessions;
using ZB.MOM.WW.MxGateway.Server.Workers;
using ZB.MOM.WW.Telemetry.Serilog;
namespace ZB.MOM.WW.MxGateway.Server;
@@ -61,6 +62,8 @@ public static class GatewayApplication
ConfigureSelfSignedTls(builder);
builder.AddZbSerilog(o => o.ServiceName = "mxgateway");
builder.Services.AddGatewayConfiguration();
builder.Services.AddSqliteAuthStore();
builder.Services.AddGatewayGrpcAuthorization();