Different log file based differnt asp.net folder

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Different log file based differnt asp.net folder

Grasshoper
Hi,

I have a requirement to log to different log  file  based  different asp.bet folder

ex   if      Folder1/ page.aspx--> should write to  log1.log file

      if     Folder2/page.aspx ---> should  write to log2.log  file   i tried using different we.config file   for different folders   but  nlog is picking up only  parent level root config    any ideas ?