SQL Source Control 7

Logging and log files

Log files collect information about SQL Source Control while you use it. These files are useful if you're working with Redgate support to fix a problem.

By default, the log level of SQL Source Control is set to Warning (see the table below). This can produce large log files. If you're troubleshooting a specific problem, you may want to change the amount of logging.

Changing the log level

  • Close SQL Server Management Studio.
  • Go to the SQL Source Control config files folder. By default, this is %localappdata%\Red Gate\SQL Source Control 7
  • Open RedGate_SQLSourceControl_Engine_EngineOptions.xml in a text editor.

  • Inside the <EngineOptions> tags, add:

    <LogLevel>your specified log level</LogLevel>

    You can specify:

    Log levelEffect
    NoneDisables all logging.
    DebugLogs additional debug information.
    TraceLogs stack trace after an exception.
    InformationLogs information collected when getting changes in the Get latest tab.
    Warning(Default) Logs information collected when minor errors occur.
    ErrorLogs information collected when mid-level errors occur.
    FatalLogs information collected when fatal errors (ie crashes) occur.
    SeriousCombines the warning, error and fatal log levels (ie logs information from all error types).
    DefaultCombines the debug, trace, information and serious log levels.
    AllLogs all messages.

    The file is case sensitive. Don't change the capitalization of the text.

  • Save and close the file.

SQL Source Control saves log files with the setting you specified.

Locating the log files

By default, log files for all Redgate tools are located in: %LOCALAPPDATA%\Red Gate\Logs


Didn't find what you were looking for?