Skip to content

Logging issues #20

@dark-penguin

Description

@dark-penguin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions