@model PowderCoating.Web.Controllers.DiagnosticsInfo @{ ViewData["Title"] = "System Diagnostics"; ViewData["PageIcon"] = "bi-activity"; }
| Current Time: | @Model.CurrentTime.ToString("yyyy-MM-dd HH:mm:ss") |
|---|---|
| Environment: | @Model.EnvironmentName |
| Application Path: | @Model.ApplicationPath |
| Running As: | @Model.UserIdentity |
| Can Write to App Path: | @if (Model.CanWriteToAppPath) { ✓ YES } else { ✗ NO - PERMISSION ISSUE } |
|---|---|
| Logs Directory Exists: | @if (Model.LogsDirectoryExists) { ✓ YES } else { ✗ NO } |
| Can Write to Logs: | @if (Model.CanWriteToLogsPath) { ✓ YES } else { ✗ NO - PERMISSION ISSUE } |
| Logs Path: | @Model.LogsPath |
Status: @if (Model.LoggingTestSuccess) { SUCCESS } else { FAILED }
Message: @Model.LoggingTestMessage
@if (Model.LoggingTestSuccess) {| File Name | Size | Last Modified | Full Path |
|---|---|---|---|
@file.Name |
@(file.Size / 1024.0).ToString("N2") KB | @file.LastModified.ToString("yyyy-MM-dd HH:mm:ss") | @file.FullPath |
This means logs are not being written. Check the permissions above.
IIS AppPool\YourAppPoolName on the application folder