Analyze Salesforce Apex Debug logs with blazing speed.
Apex Log Analyzer is a blazing-fast VS Code extension for Salesforce developers. Instantly visualize and debug Apex logs with interactive flame charts, dynamic call trees, and detailed SOQL/DML breakdowns. Identify performance bottlenecks, gain deep insight into complex transactions and optimize slow Apex methods faster than ever.

Installation | Debug Log Levels | Features | Customization | Documentation | Contributors | License
✨ Works with any
.logSalesforce debug log file.🧪 Pre-Release only — available in the Pre-Release Version; not yet in the stable release.
You can install Apex Log Analyzer directly from Visual Studio Code, the command line, or the Visual Studio Code Marketplace.
Ctrl+Shift+X or Cmd+Shift+X).Apex Log Analyzer.➡️ Install Apex Log Analyzer on Visual Studio Code Marketplace
code install financialforce.lana
💡 Access experimental features and shape future updates by switching to the Pre-Release Version from the extension banner in VS Code.
You can analyze logs in two ways:
.log file in VS Code.Log: Show Apex Log Analysis via:Ctrl/Cmd + Shift + P)Use Log: Retrieve Apex Log And Show Analysis from the Command Palette.
APEX_CODE level to FINE or higher — lower levels may omit important execution details.APEX_CODE,FINE; APEX_PROFILING,FINE; CALLOUT,INFO; DB,FINEST; NBA,INFO; SYSTEM,DEBUG; VALIDATION,INFO; VISUALFORCE,FINE; WAVE,INFO; WORKFLOW,FINEThe Timeline view shows a live visualization of your Salesforce Apex log execution — including methods, SOQL queries, DML operations, workflows, flows, and more.
Shift+Drag to measure durations, Alt/Option+Drag to area-zoom, precision keyboard controls.Also: Frame Selection & Navigation, Dynamic Frame Labels, Adaptive Frame Detail, Tooltips, Context Menu, Search & Highlight, 19 Curated Themes.

🧠 Great for spotting long-running operations, inefficient queries, and bottlenecks.
Explore nested method calls with performance metrics:

See which methods are the slowest, most frequent. or expensive.

Highlight slow Salesforce SOQL queries, non-selective filters, and DML issues.

Search across all visualizations:
Quickly step through matches, auto-expand parents, and automatically show timeline tooltips.
Seamlessly navigate between the visual analysis and your raw .log files:
Ctrl+Shift+[/].1.23s (self: 45ms)).A companion Model Context Protocol server, @certinia/apex-log-mcp (source on GitHub), exposes Apex log analysis tools to AI assistants. Use it with GitHub Copilot Chat, Claude Code, Cursor, or any MCP client.
Available tools: get_apex_log_summary, analyze_apex_log_performance, find_performance_bottlenecks, execute_anonymous.
Run **MCP: Add Server** from the Command Palette and add an npx server with the command npx -y @certinia/apex-log-mcp, or add it to .vscode/mcp.json:
{
"servers": {
"apex-log-mcp": {
"command": "npx",
"args": ["-y", "@certinia/apex-log-mcp"]
}
}
}
Claude Code
Add the server with the Claude CLI:
claude mcp add apex-log-mcp -- npx -y @certinia/apex-log-mcp
The same npm package works in Cursor and other MCP clients. See the @certinia/apex-log-mcp README for client-specific configuration snippets.
Adjust event colors with custom timeline themes in settings.json:
"lana.timeline.customThemes": {
"Glacial Warmth": {
"apex": "#6882A6",
"codeUnit": "#7A9B6E",
"system": "#9E8E7C",
"automation": "#D98650",
"dml": "#C85A5A",
"soql": "#57A89A",
"callout": "#C9A64D",
"validation": "#8B7BAC"
},
"Orchid Slate": {
"apex": "#647C96",
"codeUnit": "#8872A8",
"system": "#8A7E7E",
"automation": "#C08545",
"dml": "#C94C6E",
"soql": "#5A9E85",
"callout": "#B5A044",
"validation": "#4EA6A6"
}
}
Or go to: Preferences > Extensions > Apex Log Analyzer.
Thanks to our amazing contributors!
Copyright © Certinia Inc. All rights reserved.
This project uses Tabulator Tables, an open-source table library, under the MIT license. Tabulator is a powerful and flexible table library that helped with the interactive table features in the Apex Log Analyzer extension.
Additionally, the timeline color themes in Apex Log Analyzer draw inspiration from several open-source color palettes, editor themes, and UIs — including Salesforce UI, Chrome DevTools, and Firefox DevTools. We are grateful to the creators and maintainers of Catppuccin, Dracula, Nord, Solarized, Monokai Pro, Okabe–Ito, Material Design, and the broader theme communities whose work influenced the presets included in our timeline themes.
$ claude mcp add debug-log-analyzer \
-- python -m otcore.mcp_server <graph>