Skip to content

logs: A basic javascript log viewer#7725

Merged
rustyrussell merged 1 commit intoElementsProject:masterfrom
ddustin:ddustin/log_viewer
Jul 8, 2025
Merged

logs: A basic javascript log viewer#7725
rustyrussell merged 1 commit intoElementsProject:masterfrom
ddustin:ddustin/log_viewer

Conversation

@ddustin
Copy link
Collaborator

@ddustin ddustin commented Oct 6, 2024

A basic javascript tool for filtering through large CLN log files.

IMAGE ALT TEXT HERE

Changelog-Added: A new tool for rendering CLN log files in the browser.

A basic javascript tool for filtering through large CLN log files.

Changelog-Added: A new tool for rendering CLN log files in the browser.
@ddustin ddustin force-pushed the ddustin/log_viewer branch from 90a0de9 to bea7939 Compare October 6, 2024 23:43
Copy link
Collaborator

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel that this should be a separate tool in a separate repository?

In addition, there is a better way to collect tools that is by using https://github.com/vincenzopalazzo/cln-opentelemetry

It is supporting grafana and loki, an example of setup could be https://github.com/grafana/docker-otel-lgtm

@ddustin
Copy link
Collaborator Author

ddustin commented Oct 10, 2024

This is a low cost solution for CLN developers (it's just a single javascript file).

Doing CLN development I'm often looking through logs trying to figure out what happened. This simple tool allows me to easily dig through the flow of what occured -- separating messages by daemon, type, channel, or regex search term.

Similar to start_regtest.sh, it is another useful tool to put into the contrib folder and adds very little (perhaps none?) repo maintenance overhead.

@rustyrussell rustyrussell added this to the v25.09 milestone Jul 8, 2025
@rustyrussell rustyrussell merged commit b4d0da5 into ElementsProject:master Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants