Overview
This article describes the process to manually enable debug logging in GFI Archiver.
Process
Debug logging can be manually configured for each individual service by modifying a key in the various .config files found in: ..\GFI\Archiver\ServiceName\Bin\marc.servicename.exe.config
Section with debug mode disabled (default):
<trace autoflush="true" indentsize="0">
<listeners>
<remove name="Default" />
</listeners>
</trace>
Section with debug mode enabled:
<trace autoflush="true" indentsize="0">
<listeners>
<remove name="Default" />
<add name="TextListener" type="GFI.Common.DirectoryListener, GFI.Common.Tracing, Version=1.0.0.1, Culture=neutral, PublicKeyToken=f28aa2eff54bac51" initializeData="DebugLogs\" />
</listeners>
</trace>
Notes
- The respective service needs to be restarted for changes to be applied.
- The line might differ between GFI Archiver versions or .NET versions (esp. the PublicKeyToken). If the customer is running another version, enable debug mode on your test VM running the same build and .NET version as the customer and confirm that the line matches.