我在Asp.Net核心应用程序中使用log4net。我能够将数据保存到日志文件中。但是问题是每次我运行该应用程序时,都会擦除旧数据并记录新消息。我想附加日志。请帮我
在log4net config中将此属性设置为True对我有用!
<appendToFile value="true" />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.