Logs

Previous Top Next





  • Create log file? - by setting this option ReplaceMagic will create log file during scan or search&replace process. Log will have Console tab entries.
  • Include links checker errors in log - by setting this option ReplaceMagic will include links checker information in log file. This information is anyway included in scanning results.
  • Developer log info (enable only on ReplaceMagic team request)  - additional log details will be stored in log files. This might be needed for deep dive investigation of any issues.
  • SharePoint developer log info (enable only on ReplaceMagic team request)  - additional log details will be stored in log files. This might be needed for deep dive investigation of any issues when processing documents stored on SharePoint.
  • SharePoint performance metrics (enable only on ReplaceMagic team request) - with this parameter ReplaceMagic will show you how long different phases during processing of documents stored on SharePoint took. This will add additional entries in ReplaceMagic log file and is excellent to understand how time is spent but also to figure if you are throttled as Microsoft has to protect SharePoint environment. 

    Here you can find entries for one document when Microsoft throttled processing (during normal processing we see between 4 and 10 better performances for same document):

    • Binary Load Document: document.docx: 2143,2041 ms (comment: this is where we download documents from SharePoint)
    • Preparation for Meta Data processing: document.docx: 1270,1174 ms (comment: access to the SharePoint)
    • Replacement process: document.docx: 0,9958 ms(comment: processing done on your computer)
    • CheckIn/Out or Publish/Unpublish update: document.docx: 2007,0992 ms (comment: access to the SharePoint)
    • Preparation for save: document.docx: 89,7238 ms(comment: processing on your computer)
    • Upload to SharePoint: document.docx: 3177,0676 ms (comment: access to the SharePoint)
    • Set document Metadata back: document.docx: 16490,9978 ms (comment: access to the SharePoint)

  • Set Logs Location - text field where you can type where logs location should be or you can click on "Select folder for logs" which will open Folder Selector form where you can use tree view to select folder for logs
  • Open logs location - will open folder where logs are
  • Create dump file registry entries - by creating those registry entries in case of ReplaceMagic crash Windows should create dump files required by ReplaceMagic for root-cause analyses. Entries will be created under:

    Windows will set that full dump is created and that there are no more than 10 dumps in CrashDump folder. Oldest dump will be always overwritten.
  • Remove dump file registry entries - this will remove registry entries


Currently active log file has name like ReplaceMagicLog.log. All older logs will have in addition time stamp in the name.

Names of the log files

Every scan and every replacement writes its own log file in the logs location. The name shows the kind of run and the date and time when it started:

  • ReplaceMagic - SCAN - 27112026 102450.log - log of a scan (Scan documents);
  • ReplaceMagic - REPLACEMENTS - 27112026 102450.log - log of a replacement (Search & Replace), also in Replace Preview;
  • ReplaceMagic - 27112026 102450.log - any other log, for example when ReplaceMagic starts, updates the database or imports a run.

The date and time are written in the date format of Windows, without separators. Logs written by versions before 2026.3.1.1 have no SCAN or REPLACEMENTS in the name.

License information in the log

At the beginning of every scan and every replacement the log lists the settings used for the run. Three lines show the license:

  • License mode - Full when a valid license is entered, otherwise Trial.
  • Product - with a valid license the Product ID and the name of the licensed product, for example Product: 300651715 (ReplaceMagic.Ultimate). Without a valid license: Product: ReplaceMagic.SmartMapper (Trial).
  • SmartMapper mode - Full only with an active ReplaceMagic.SmartMapper license; SmartMapper then generates Search/Replace keys for all scanned documents. In every other case (trial, or a license for another ReplaceMagic product) the log shows Trial (limited to 100 documents): keys are generated only for the first 100 documents of the scan (see Trial and full version). The line shows the license at the time of that run.

Example from a log with a SmartMapper license:

License mode: Full
Product: 300128937 (ReplaceMagic.SmartMapper)
SmartMapper mode: Full

When you send a log to the ReplaceMagic team, these lines tell which license was used for that run.


Completed documents in the replacement log

During a replacement the log gets one line for every document that was processed completely (changed and saved, or opened and nothing had to be changed):

  • 99. Document processing completed: C:\Data\Finance\Budget 2026.Xlsx
  • 99. Document processing completed: /sites/Finance/Shared Documents/Reports/Budget.xlsx

For documents on a file share, local disk or cloud storage the full path is written, for SharePoint documents the path on the site. A document with an error, a locked or skipped document and a document stopped by the timeout get no such line, and a Replace Preview writes none. If a replacement is interrupted, these lines are used by Import from log file (delta) in Processing Filter to continue with the remaining documents only (see Filtering).


SharePoint settings and messages in the log

When documents stored on SharePoint are scanned or processed, the configuration part at the beginning of the log also lists the SharePoint settings used for the run (for example "SharePoint - ReplaceMagic check-out/check-in (SPReplaceMagicCheckOut): False", "SharePoint - Try to change checked-out documents (SPEnforceCheckIn): True", "SharePoint - Versioning type (SPVersioningType): 2 (Keep Version Number)").

During processing the log can contain the following SharePoint messages: