Error messages are written to a file named .log located in the Workspace directory .metadata folder. This file can (and should) be cleared periodically via the Delete Log command to prevent performance issues with regards to system memory and file size. However, the Export command enables you to archive log files prior to deletion. The files created by the Export command can then be imported back into the Error Log as needed at a later point in time.
To export the SQL Log
Right-click the SQL Log view, and then choose Export Log. The log is saved in the specified directory path with a .log extension.
To import the Error Log
Right-click the SQL Log view, and then choose Import Log. Select the previously exported .log file. The Error Log view is restored with the entries from the specified export file.