On the Core and Agent the logs are stored in C:\ProgramData\AppRecovery\Logs. Within this directory are the following type of logs:
- AppRecovery.**.log - Logs events specific to actions of the Core service
- AppRecoveryPM.**.log - Logs events specific to actions of the Agent service
- AppRecoveryInstallation.log - Logs events specific to the installation of the Core or Agent services
- LocalMountUtility.log - Logs events specific to the
- LocalMountUtility
- MailboxRestore - Logs events specific to MailboxRestore
- Other log files may be located here regarding the specific of other Rapid Recovery functions.
To change the location of the log files, follow these steps:
NOTE: If you run a repair installation or upgrade the application, this setting will likely revert and you will need to perform the modification again.
WARNING: This is not a support modification. AppAssure holds no liability for its use. Please ensure you fully understand the potential consequences of modifying a fundamental application file prior to beginning.
To change the location of the log files for an Agent:
- Stop the Agent service.
- In C:\Program Files\AppRecovery\Agent\, you'll find a Logging.dll.nlog.config file. Make a backup copy of that file as a safeguard.
- Open the file in notepad
- The following two lines need to be changed. Note: The file will specify a file name of AppRecovery.log even though the file actually written will be AppRecoveryPM.log. This is normal. fileName="${environment:SystemDrive}\AppRecovery.log" archiveFileName="${environment:SystemDrive}\AppRecovery.{##}.log"
- Change them to the path you want the log file to be written. For example: fileName="D:\AppRecovery.log" archiveFileName="D:\AppRecovery.{##}.log"
- Save the file
- Start the Agent service.
To change the location of the log files for the Core:
- Stop the Core service.
- In C:\Program Files\AppRecovery\Core\CoreService, you'll find a Logging.dll.nlog.config file. Make a backup copy of that file as a safeguard.
- Open the file in notepad
- The following two lines need to be changed: fileName="${environment:SystemDrive}\AppRecovery.log" archiveFileName="${environment:SystemDrive}\AppRecovery.{##}.log"
- Change them to the path you want the log file to be written. For example: fileName="D:\AppRecovery.log" archiveFileName="D:\AppRecovery.{##}.log"
- Save the file
- Start the Core service.