vb.net arcmap add-in log4net log still follow the configuration before update

المشرف العام

Administrator
طاقم الإدارة
I met a strange thing in my log4net for vb.net arcmap add-in.

At first, I follow the link http://www.codeproject.com/Articles/42276/How-to-Use-Log-Net-with-VB-NET-A-Simple-Step-By-St to write logs for my arcmap add-in project. There are 2 files related to the log file:

(1) Log4NetAssembly1.exe.log4net, the configuration for log4net is:



(2) app.config

It works properly with log file C:\Log4NetExamples\Example.log.

Now I want to create log file daily and want each log file with the date of creation, so I updated my code as follows:

(1) Log4NetAssembly1.exe.log4net



(2) app.config

The strange thing is after I changed to the daily logging design, my log file still written to C:\Log4NetExamples\Example.log, which means it still follow the previous configuration of log4net. I really cannot figure out why, is there anywhere remember the old configuration? I search the whole vb.net project and cannot find "Example.log" at all.

Anybody knows what happen? Please help me, thanks.



أكثر...
 
أعلى