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

feat: add support for electron_debug.log #61

Merged
merged 4 commits into from
Mar 29, 2023
Merged

Conversation

erickzhao
Copy link
Member

This PR adds support for electron_debug.log in Sleuth. Chromium logs have a unique format that requires a whole other set of parsers.

A log line looks something like this:

[85509:0307/160606.126448:WARNING:transport_feedback_adapter.cc(263)] Failed to lookup send time for 1 packet. Send time history too small?

Here, the metadata prefixing the message is [process_id:MMDD/hhmmss.SSSSSS:LOG_LEVEL:filename(line)] as documented in https://support.google.com/chrome/a/answer/6271282.

Some notes:

src/renderer/processor.ts Outdated Show resolved Hide resolved
@nocturnll nocturnll merged commit 9673bec into main Mar 29, 2023
@nocturnll nocturnll deleted the fix-electron-debug branch March 29, 2023 22:30
@erickzhao
Copy link
Member Author

pog

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