Log Viewer & Log File Highlighter
Color every log level, render ANSI colors, tail live logs and filter out the noise — right in VS Code.
Open any .log file and Log Viewer detects the format, colors ERROR, WARN, INFO, DEBUG and TRACE with your theme's colors, and keeps the file fully editable. No setup, no config file.

Free features
- Log level highlighting for ERROR, WARN, INFO, DEBUG, TRACE, FATAL, CRITICAL and more, using your theme's colors.
- Automatic format detection: Spring Boot, Logback / Log4j, Laravel / Monolog, Python logging, Rails, nginx and Apache access and error logs, syslog, Android logcat and JSON lines.
- ANSI colors rendered: escape codes like
[31m are hidden and shown as real colors, so console output saved to a file reads like the terminal.
- Stack traces stand out from the log line that caused them.
- Large files stay responsive.
- Optional: tint the whole line by its level (
logViewer.highlightWholeLine).

Log Viewer Pro
For people who read logs every day:
- Tail / follow a log file with autoscroll while your app writes to it.
- Filter panel: by level, text or regex; Show only errors with one click.
- Next / previous error with
F8 / Shift+F8, plus error and warning markers in the scrollbar.
- JSON logs pretty-printed on hover (pino, winston, bunyan, structured logging).
- Merge several log files by time into one view.
- Saved filters you can reapply in one step.
- Your own highlight rules: any word or regex, with color, background, bold or whole line.


Pro costs $3.99 per month or $38 per year. Run Log Viewer: Get Log Viewer Pro from the Command Palette. Cancel anytime.
Keyboard shortcuts
| Action |
Windows / Linux |
macOS |
| Next error |
F8 |
F8 |
| Previous error |
Shift+F8 |
Shift+F8 |
| Filter panel |
Ctrl+Alt+F |
Cmd+Alt+F |
Settings
| Setting |
Default |
What it does |
logViewer.renderAnsiColors |
true |
Hide ANSI escape codes and show their colors. |
logViewer.highlightWholeLine |
false |
Tint the whole line by its log level. |
logViewer.customHighlights |
[] |
Your own highlight rules (Pro). |
FAQ
My log file isn't highlighted.
Log Viewer handles files with the .log extension. For other files, click the language name in the status bar and choose Log.
I see codes like [0;31m in my log.
Those are ANSI color codes. Log Viewer hides them and shows the colors; check that logViewer.renderAnsiColors is on.
Can I still edit the file?
Yes. Highlighting and filtering never change the file.
Can I add colors for my own patterns?
Yes, with Pro: right-click a word and choose Highlight Word or Pattern…, or add rules in logViewer.customHighlights.
Does it work with remote, WSL and SSH files?
Yes, it works on any file VS Code can open.
Privacy
Log Viewer reads your logs only inside VS Code and never uploads them. It has no telemetry. If you buy Pro, the email address you enter is sent to our license server (lakeside-ext-api.expo.app) to check your subscription, about every three days. Payments are handled by Stripe.
Support
Questions or a log format that isn't detected? Email scanlystudio.support@proton.me.