Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logs: A basic javascript log viewer #7725

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.
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.

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.

2 participants