How to turn on debug logs for Hystax Windows Replication Agent

How to turn on debug logs for Hystax Windows Replication Agent

Task

Turn on debug logging to perform advanced troubleshooting for Hystax Windows Replication Agent (HWRAgent).

Solution

HWRAgent is running as two separate processes - HWRAgent service and Replication Manager (Repman_x64.exe), so you need to turn on debug logs for each of them.
Perform the following steps:
1. Navigate to Control Panel - Administrative Tools - Services.
2. Find HWRAgent in service list and stop it.
Hystax Windows Replication Agent

3. Ensure that there is no "Repman_x64.exe" process in Task Manager.
4. Open Notepad with Administrator priveleges.
5. Open C:\ProgramData\hystax\acura\repman.conf


6. Edit config by changing the value for "debug_logging_enabled" to true.
Edit config


7. Save repman.conf.
8. Open C:\ProgramData\hystax\acura\cbt.xml.
9. Edit config by changing the <debug></debug> value to true.
Edit config

10. Save cbt.conf.
11. Start HWRAgent service.
Start HWRAgent service

Now you have debug logging enabled which lets you receive very detailed information about the replication agent's activity.
Log file is located here - %ProgramData%\Hystax\acura\LOG\repman.log
    • Related Articles

    • How to turn on debug logging for Hystax Linux Replication Agent

      Task Turn on debug logging to perform advanced troubleshooting of Hystax Linux Replication Agent (HLRAgent) Solution Stop the HLRAgent service with the following command: sudo service hlragent stop Enable debug logs, set the value ...
    • How to turn on debug logging for Hystax VMware Replication Agent

      Task Turn on debug logging to perform advanced troubleshooting of Hystax VMware Replication Agent (HVRAgent) SolutionGo to the TUI and select the “Agent options” menu Choose the “Enable debug logging” option You can see the logs in agent TUI or in ...
    • How to set volume exclusion for the Windows replication agent

      Task Set a volume exclusion for the Windows replication agent. Solution In case there are disks on the machines that are not needed for replication, they can be excluded by setting certain parameters in the cbt.conf configuration file: 1. Stop the ...
    • How to configure custom replication agent settings when adding a new customer in the ACP

      Task When a replication agent is downloaded from the ACP, it is injected with the current network information vital for connecting to the Acura instance and discovering machines for the given customer. Depending on the actual layout, Acura may be ...
    • List of log files locations

      Log files locations, by agent type: Agent type Log file location Windows replication agent %ProgramData%\Hystax\acura\LOG\repman.log %ProgramData%\Hystax\acura\LOG\hwragent.log.txt Linux replication agent /var/log/repman.log VMware replication agent ...