Log file for SmartAssembly
Published 02 January 2013
This page describes logging for SmartAssembly 7.2.2 and newer. If you're using an earlier version of SmartAssembly, please refer to SmartAssembly 7.2.1 and earlier.
Log files collect information about the application while you are using it. These files are useful if you're working with Redgate support to fix a problem.
By default, logging is enabled and configured to log warnings and errors.
You can also enable logging when using the command line. See: Using the command line mode ยป Logging.
Enabling logging
To enable logging, select the log level you require.
Open the sub-menu Tools -> Configure logging... -> Minimum log levels, and then click the required log level:
Select a minimum log level based on how much information you need to be reported:
Verbose | Reports all messages in the log file. |
Warning | Reports warning and error messages. For example, a warning message might report a handled exception, or a problem which doesn't stop you using the application. |
Error | Reports serious and fatal errors. For example, an error message might report a failed operation. |
No logging | Disables logging. |
The selected log level may affect performance. Verbose logging reports all messages, and so writes the most information to disk and produces the largest log files.
If you don't need logging, we recommend you select No logging.
Locating the log files
To open the folder where the log files are stored, click Locate log files. By default, log files are located in directory: %LOCALAPPDATA%\Red Gate\Logs\. Log files are removed automatically when older than 7 days.
To view the current log file in your default text editor, click Open current log file.
If the minimum log level is set to No logging, you cannot locate or open log files from within the application.