This commit is contained in:
2018-12-18 00:00:49 +00:00
parent 89a5081add
commit c2fd0918df
2 changed files with 6 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ namespace AyaNova.Api.Controllers
<pre>{AyaNova.Core.License.LicenseInfo}</pre>
<h4>Schema version</h4>
<pre>{AySchema.currentSchema.ToString()}</pre>
<h4>Active techs</h4>
<pre>{UserBiz.ActiveCount}</pre>
<h4>Server time</h4>
<pre>{DateUtil.ServerDateTimeString(System.DateTime.UtcNow)}</pre>
<pre>{TimeZoneInfo.Local.Id}</pre>

View File

@@ -443,6 +443,10 @@ namespace AyaNova
}
});
//Log the active user count so it's in the log record
_log.LogInformation($"BOOT: Active techs - {UserBiz.ActiveCount}" );
//Log the license info so it's on the record
_log.LogInformation($"BOOT: License -\r\n=-=-=-=-=-=-=-=-=-=-\r\n{AyaNova.Core.License.LicenseInfo}=-=-=-=-=-=-=-=-=-=-" );