Logging and log files
Published 03 June 2019
Log files collect information about SQL Change Automation while you use it. These files are useful if you're working with Redgate support to fix a problem.
Changing the log level
- Close Visual Studio.
- Find the logging.config in SQL Change Automation extension folder (search Visual Studio folder to find it). There may be two such files - the one to edit is under the Extensions folder.
Open logging.config in a text editor.
Inside the
<root>
tag, edit:- <level value="DEBUG" />
You can specify:
Log level Effect None Disables all logging. Debug Logs additional debug information Info Logs information collected when getting changes in the Get latest tab. Warn Logs information collected when minor errors occur. Error Logs information collected when mid-level errors occur.
Locating the log files
By default, log files for all Red Gate tools are located in %LOCALAPPDATA%\Red Gate\Logs.
Log files for the Visual Studio extension of SQL Change Automation are in %LOCALAPPDATA%\Red Gate\Logs\SQL Change Automation\VS.