如何在应用程序块日志记录中配置文件名 [英] How configure file name in application block logging
本文介绍了如何在应用程序块日志记录中配置文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我通过在web.config loggingconfiguration部分中提到``C:LoG \ trace.log''来填充日志文件.但我需要将日志文件放置在当前日期文件夹中.如何在Web配置文件中设置代码以创建具有当前日期的文件夹.
迫切...........
Hi ,
I am pring log file by mentioning ''C:LoG\trace.log'' in web.config loggingconfiguration section. but i need log files need placed in current date folder. how to set the code in web config file to create folder with current date.
its urgent...........
推荐答案
Sreenivas12 @ 12写道:
Sreenivas12@12 wrote:
非常紧急...........
its urgent...........
天哪,是吗?
Gosh, is it?
Sreenivas12 @ 12写道:
Sreenivas12@12 wrote:
标签: aps.net
您不是在说ASP.NET吗?
Don''t you mean ASP.NET?
这篇关于如何在应用程序块日志记录中配置文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文