日志文件放在部署站点目录之外,无法读取到日志
mcjing opened this issue · 1 comments
mcjing commented
比如我的站点的位置是 D:/NET_CORE ,日志文件记录在D:/LOG
如果是上述的这种情况,LogDashboard页面无法显示日志文件的内容
realLiangshiwei commented
context.Services.AddLogDashboard(opt => opt.SetRootPath(your log path));