THE INFORMATION IN THIS ARTICLE APPLIES TO:
- WAFS/CDP v3.7.x and earlier
How do I change the default location of the Agent logs?
Each time the Agent is started, it creates a new log file. Log files are written by default to the folder C:\AVCStuff\logs.SYSTEM. Each time the Agent runs, it creates a new log file with a name containing the date and time when it was started (e.g., Agn_20080604_1100_001.txt). You can also change the default location of the logs.
Registry editing is for advanced users only. Incorrectly editing the registry can severely damage your system. You should always back up (export a copy of) the registry before you make any changes to it.
To change the default location of the Agent Logs
Create the folder to which you want to save the log files. (You must create the folder before you can point the registry to it.)
Stop the Agent.
Open the Windows Registry. (Click Start > Run, type regedit, then press ENTER.)
Right-click Settings, then click New > String Value.
Name the string altLOGFolder.
In the right pane, double-click the new string. The Edit String dialog box appears.
In the Value data box, provide the full path to log file folder that you created in step 1, then click OK. For example, type:
(You must create the folder before you can point the registry to it.)
Close the Registry.
- Restart the Agent.
Verify that a new AGN log is created in the new default location when the Agent is started.