diff --git a/IdentityServer.Api/Program.cs b/IdentityServer.Api/Program.cs index 204b57a..383671f 100644 --- a/IdentityServer.Api/Program.cs +++ b/IdentityServer.Api/Program.cs @@ -39,12 +39,15 @@ namespace IdentityServer.Api columnOptions.Store.Remove(StandardColumn.Properties); columnOptions.Store.Remove(StandardColumn.MessageTemplate); columnOptions.Store.Add(StandardColumn.LogEvent); + + var mssqlSinkOptions = new MSSqlServerSinkOptions() { AutoCreateSqlTable = true, TableName = "__Logs" }; + Log.Logger = new LoggerConfiguration() .MinimumLevel.ControlledBy(loggingLevelSwitch) .MinimumLevel.Override("Microsoft", LogEventLevel.Warning) .Enrich.FromLogContext() .WriteTo.Console() - .WriteTo.MSSqlServer(connectionString, "__Logs", autoCreateSqlTable: true, columnOptions: columnOptions) + .WriteTo.MSSqlServer(connectionString, mssqlSinkOptions, columnOptions: columnOptions) .CreateLogger(); try diff --git a/build-amd64.sh b/build-amd64.sh index ac39d55..5e4bc57 100644 --- a/build-amd64.sh +++ b/build-amd64.sh @@ -2,7 +2,7 @@ # chmod u+x build-amd64.sh echo "Welcome!" -version="1.0.0" +version="1.0.1-alpha1" localRegistryPass="***REMOVED***" echo "Create docker image with version $version." diff --git a/dependencies.props b/dependencies.props index 6726903..8ebba9d 100644 --- a/dependencies.props +++ b/dependencies.props @@ -1,10 +1,10 @@ - 3.1.3 - 3.2.0 - 3.0.1 - 3.1.1 - 5.2.0 + 3.1.8 + 4.1.0 + 3.1.0 + 4.0.0 + 5.6.1 9.0.0 7.0.0 6.0.0 diff --git a/release.sh b/release.sh index b460139..c59cd7b 100644 --- a/release.sh +++ b/release.sh @@ -1,7 +1,7 @@ #!/bin/sh echo "Welcome!" -version="1.0.0" +version="1.0.1" oldver="1.0.0" echo "Pull docker image identity-server:$version from registry."