Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Substrate Log ViewerNew to Visual Studio Code? Get it now.
Substrate Log Viewer

Substrate Log Viewer

Ilya Komlyakov

|
38 installs
| (0) | Free
View and analyze Model A logs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SubstrateLogViewer README

Extension for quick log parsing when testing Model A on TDS

Commands

rettifyActiveLog

Pretify active GraphStorage-Json log. Run cmd -> enter Event name you want to see.

prettifyLogsInFolder

Combine all GraphStorage-Json logs in current folder into one sorted by TimeStamp. Same usage as rettifyActiveLog. Result will be in a separate file.

findInActiveLog

Search by value in column in Rest logs. Similar so 'where' statement in SQL.

Example:

RequestSize > 1000

Limitations:

1. So far it's one filtering query at a time. So no OR, AND, etc. 
2. So far only >, <, = are supported
3. Spaces should be before and after operation (NOT RequestSize>1000). Filter parsing is very basic - split by spaces.

openLogs

Quick way to open Rest, GraphStorage-JSON logs on TDS

Publishing

New version publishsing needs two manual steps so far. The following steps required

  1. Update version "version": "0.0.6" manually in Package.json
  2. Create a tag in Azure DevOps.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft