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

Collect and attach logs #21

Open
pherjung opened this issue Nov 24, 2022 · 7 comments
Open

Collect and attach logs #21

pherjung opened this issue Nov 24, 2022 · 7 comments

Comments

@pherjung
Copy link

Some bugs aren't easily reproducible. A nice feature will be to easily add specific logs. Some discussions started :

@nephros
Copy link
Collaborator

nephros commented Nov 24, 2022

I guess the first step is to enable File Uploading:
Depends on: #5

Also, all the different log collecting documentation can be added to the Help/Welcome screens. Some of those are already there:

@nephros
Copy link
Collaborator

nephros commented Nov 24, 2022

Is the goal to have Bugger functionality to collect logs itself?

Or should it trigger some external tools?

@nephros
Copy link
Collaborator

nephros commented Nov 24, 2022

Security/Privacy concerns as raised in the meeting log are also of concern.

Bugger shall not have any functionality built-in which poses the risk of leakage of privacy or security related data.

@pherjung
Copy link
Author

Is the goal to have Bugger functionality to collect logs itself?

Or should it trigger some external tools?

What is technically the easiest way? Aim is to provide an easy tool for users without technical skills.

@nephros
Copy link
Collaborator

nephros commented Nov 24, 2022

Hm, so we can now dump the journal to a file and load the contents.

See 'logcollect' branch.

nephros pushed a commit that referenced this issue Nov 25, 2022
Contributes-To: #21
nephros pushed a commit that referenced this issue Nov 25, 2022
Contributes-To: #21
nephros pushed a commit that referenced this issue Nov 25, 2022
nephros pushed a commit that referenced this issue Nov 25, 2022
@nephros
Copy link
Collaborator

nephros commented Nov 25, 2022

Current status: (Version 0.10.1)

  • Systemd service to collect logs
  • Triggering said service from Bugger!
  • Loading said log files into Bugger!
  • Allow user to add their own files
  • Allow user to remove any files from the list
  • Upload file contents to "Pastebin" service (currently paste.mozilla.org)
  • Gather URLs from said uploads
  • Allow User to include or not include added links
  • add links to forum post
  • add links and choice to "Saved Bug Report" storage
  • restore links and choice from "Saved Bug Report" storage

nephros pushed a commit that referenced this issue Nov 27, 2022
@nephros
Copy link
Collaborator

nephros commented Nov 27, 2022

Current status: (Version 0.10.3)

[X] introduce plugin system for log collecting scripts via systemd template, see https://github.com/sailfishos-chum/bugger/blob/logcollect/README_logcollect.md

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

When branches are created from issues, their pull requests are automatically linked.

2 participants