mirror of
https://github.com/amnezia-vpn/amneziawg-exporter.git
synced 2026-10-13 21:34:14 +00:00
[GH-ISSUE #13] Improve start-up logs #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tiaga on GitHub (Aug 13, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-exporter/issues/13
During start the following line can be found on logs:
If
AWG_EXPORTER_OPS_MODEisn't set tometricsfileit can be confusing.I propose print that line only if
AWG_EXPORTER_OPS_MODEis set tometricsfile. For that, we can simple modify the code to something like that: