如果我使用共享虚拟主机,应该将NLog设置为什么路径?

时间:2018-09-04 03:06:01

标签: web-hosting nlog shared-hosting

我在示例nlog.config中看到了这一行:

<target xsi:type="File" name="allfile" fileName="c:\temp\nlog-all-${shortdate}.log"
        layout="${longdate}|${event-properties:item=EventId_Id}|${uppercase:${level}}|${logger}|${message} ${exception:format=tostring}" />

我相信我应该编辑fileName部分,但是由于我没有保护网络托管服务提供商,因此我不确定要输入什么。

共享网络托管服务提供商通常向客户提供哪些“临时”目录?请提供Windows,Ubuntu和CenTOS的相应路径。

0 个答案:

没有答案