Chapter 7. Debugging Red Hat Developer Lightspeed for MTA


Red Hat Developer Lightspeed for migration toolkit for applications generates logs to debug issues specific to the extension host and the MTA analysis and RPC server. You can also configure the log level for the Red Hat Developer Lightspeed for MTA in the extension settings. The default log level is debug.

Extension logs are stored as extension.log with automatic rotation. The maximum size of the log file is 10 MB and three files are retained. Analyzer RPC logs are stored as analyzer.log without rotation.

7.1. Archiving the logs

To archive the logs as a zip file, type MTA: Generate Debug Archive in the VS Code Command Palette and select the information type that must be archived as a log file.

The archive command allows capturing all relevant log files in a zip archive at the specified location in your project. By default, you can access the archived logs in the .vscode directory of your project.

The archival feature helps you to save the following information:

  • Large language model (LLM) provider configuration: Fields from the provider settings that can be included in the archive. All fields are redacted for security reasons by default. Ensure that you do not expose any secrets.
  • LLM model arguments
  • LLM traces: If you enabled tracing LLM interactions, you can choose to include LLM traces in the logs.

7.2. Accessing the logs

You can access the logs in the following ways:

  • Log file: Type Developer: Open Extension Logs Folder and open the redhat.mta-vscode-extension directory that contains the extension log and the analyzer log.
  • Output panel: Select Red Hat Developer Lightspeed for MTA from the drop-down menu.
  • Webview logs: You can also inspect webview content by using the webview logs. To access the webview logs, type Open Webview Developer Tools in the VS Code Command Palette.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat