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

Logging issues #20

Open
dark-penguin opened this issue Jan 14, 2018 · 0 comments
Open

Logging issues #20

dark-penguin opened this issue Jan 14, 2018 · 0 comments

Comments

@dark-penguin
Copy link

The log file is called /var/log/sixad , but the entry inserted into /etc/logrotate.d/sixad instructs it to rotate /var/log/sixad.log

Previously, this caused the log file to grow out of control quickly (which becomes a special kind of pain on btrfs), because if I don't keep my USB dongle plugged in all the times, I get an error message every second. With the latest version, the error message goes into journald instead of the log file, which is less of a problem due to journalctl's nature, but now the logs are full of garbage (and they still have to be stored somewhere).

What I suggest is:

  • Fix the logrotate entry mismatch;
  • Maybe provide an option to control logging (journald, logfile or disabled);
  • A different behavior of the "No Bluetooth adapters found" error: produce that message once, and suppress repeating this error until an adapter is detected. Once it's detected, produce a "Bluetooth adapter found!" message and un-suppress the error.
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

No branches or pull requests

1 participant