This commit is contained in:
@@ -63,16 +63,14 @@ namespace AyaNova
|
||||
var AyaNovaConfig = config.AsEnumerable().Where(z => z.Key.StartsWith("AYANOVA") && z.Key != "AYANOVA_JWT_SECRET" && z.Key != "AYANOVA_SET_SUPERUSER_PW").Select(z => z.Key + "=" + z.Value).ToList();
|
||||
var DiagConfig = string.Join(",", AyaNovaConfig);
|
||||
DiagConfig = DbUtil.PasswordRedactedConnectionString(DiagConfig);
|
||||
#if (SUBSCRIPTION_BUILD)
|
||||
DiagConfig += ",Build=Subscription";
|
||||
#else
|
||||
DiagConfig += ",Build=Perpetual";
|
||||
#endif
|
||||
Console.WriteLine($"Config {DiagConfig}");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#region Initialize Logging
|
||||
//NOTE: there is a logging issue that breaks all this with .net 3.1 hostbuilder vs webhostbuilder but webhostbuilder will be deprecated so we need to work around it
|
||||
//the discussion about that is here: https://github.com/aspnet/AspNetCore/issues/9337
|
||||
@@ -207,14 +205,10 @@ namespace AyaNova
|
||||
logger.Info($"AYANOVA SERVER {AyaNovaVersion.VersionString} BOOTING");
|
||||
|
||||
|
||||
#if (DEBUG)
|
||||
logger.Info($"### DEBUG ONLY - Linker timestamp is {Util.FileUtil.GetLinkerTimestampUtc(System.Reflection.Assembly.GetExecutingAssembly())}");
|
||||
#if (SUBSCRIPTION_BUILD)
|
||||
logger.Info($"### DEBUG ONLY - SUBSCRIPTION BUILD");
|
||||
#else
|
||||
logger.Info($"### DEBUG ONLY - PERPETUAL BUILD");
|
||||
#endif
|
||||
#endif
|
||||
// #if (DEBUG)
|
||||
// logger.Info($"### DEBUG ONLY - Linker timestamp is {Util.FileUtil.GetLinkerTimestampUtc(System.Reflection.Assembly.GetExecutingAssembly())}");
|
||||
|
||||
// #endif
|
||||
|
||||
//log configuration
|
||||
logger.Info($"Config {DiagConfig}");
|
||||
|
||||
Reference in New Issue
Block a user