Skip to content

[linux] AmneziaVPN-service clutters the logs with a large number of debug entries #2952

Description

@PRESFIL

Describe the bug

During normal operation, many entries of the following type appear in the journalctl service logs:

AmneziaVPN-service[25496]: [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed for interface org.freedesktop.NetworkManager.Device.Statistics
AmneziaVPN-service[25496]: [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not changed. Ignoring the changes
AmneziaVPN-service[25496]: [DEBUG] Amnezia LinuxNetworkWatcherWorker : Properties changed for interface org.freedesktop.NetworkManager.Device.Statistics
AmneziaVPN-service[25496]: [DEBUG] Amnezia LinuxNetworkWatcherWorker : Access point did not changed. Ignoring the changes

I have a lot of such logs:

$ journalctl -u AmneziaVPN | grep -B 1 -E 'Access point did not changed. Ignoring the changes' | wc -l
8126619

Logs are written regardless of whether the VPN is activated or not;
the service simply needs to be running.

To Reproduce

Steps to reproduce the behavior:

  1. Setup Amnezia
  2. The service needs to run for a few minutes; enabling the VPN is not required.
  3. See debug messages in logs

Expected behavior

This debug message holds no meaning for the average user. It could potentially
be set to TRACE level, or perhaps AmneziaVPN-service is not being built in DEBUG mode.

Log files

Screenshots

Desktop:

  • OS: NixOS unstable
  • Version 4.8.21.0

Server:

  • OS: [e.g. Ubuntu 22.04]

Additional context

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