The alarm-forwarder.log file, written to when the alarmForwarder.pl tool is configured and running in eHealth, is full of what appears to be excessive debug and informational messages.
How can we control or otherwise limit the log messages written to the alarm-forwarder.log file?
To accomplish this we'll need to edit the alarmForwarder.bat file on Windows systems with the tool. Within this file find the line that states:
%NH_HOME%/perl/bin/perl.exe %NH_HOME%/custom/alarmForwarder/alarmForwarder.pl --verbose
Modify that line to the following (without "--verbose" parameter):
Restart the alarmForwarder.pl by restarting the eHealth server services. In Windows this is accomplished most easily with the stop and start of the eHealth 63 service. In Windows on the command line run the command "nhServer stop" followed by "nhServer start".
Making this change will lower the noise and size of the log during normal operation of the AlarmForwarder tool. If problems with its operation are observed, this change should be reverted to its original form to gather additional logging and messages for analysis.