Developer forum

Forum » Feature requests » Log of Index Builder

Log of Index Builder

Rui Silva
Reply

Hi,

I've just spend quite a time checking where the log on the Index builder is written in the system and finally found it under the Application/App_Data/Log/Nlog folder.

Could it be moved next to the other log folders under Files/System/Log  folder?

Thanks,

Rui Silva


Replies

 
Nicolai Pedersen
Reply

In DW8 this is probably because of your web.config which does not contain the right configuration. It should have a section like this:

 <common>
    <logging>
      <factoryAdapter type="Dynamicweb.Diagnostics.Logging.DynamicwebLoggerFactoryAdapter, Dynamicweb.Diagnostics">
        <arg key="Adapters" value="Common.Logging.NLog.NLogLoggerFactoryAdapter, Common.Logging.NLog20" />
        <arg key="Common.Logging.NLog.NLogLoggerFactoryAdapter_configType" value="INLINE" />
      </factoryAdapter>
    </logging>
  </common>

In DW9, the config is managed by code.