DFS 11.1 - 12 Logging

The DAM for Sitecore adds 4 new log files to you Sitecore instance. They are placed in the same folder as Sitecores log files.

  • dfs.log

  • dfs.request.log

  • dfs.assetinuse.log

  • dfs.digizuiteintegration.log

The configuration is placed in \App_Config\Include\damforsitecore\DFS.Log4net.config. By default the log level is set to INFO for each of the tree files. If you need to debug a problem, you can set the log level to DEBUG and the module will print more into the log files.

DFS.LOG

This is the main log file for DAM for Sitecore. Here you will find errors, warnings and info about the synchronization.

DFS.REQUEST.LOG

This log file will not show anything in log level mode INFO. If you set it to DEBUG you will see all requests between Sitecore and Digizuite. This is useful if you wants to debug the communication between Sitecore and Digizuite.

DFS.ASSETINUSE.LOG

In this log file you will see if an media item (asset) has been deleted from the asset silo and the item was used in any content page.

When the module deletes an asset it will check if the asset is used on any content item. If it is then is starts the following pipeline "DFS.AssetInUseAuditLog" which only has one processor that will write to the log file. The pipeline is located at \App_Config\Include\damforsitecore\DFS.Settings.config.

From this pipeline you can create you own processor and extend the functionality. Maybe you want to send an email to the administrator notifying that an asset has been deleted that was in use.
Then arguments in the pipeline contains the following properties:

  • AssetItemId (ID)

  • Item (Item)

  • AssetInUse (bool)

  • ContentItemsReferrers (List<string>)

DFS.DIGIZUITEINTEGRATION.LOG

In this log file you will see when ever the Digizuite sends notifications about asset updates and deletions.