]> git.proxmox.com Git - mirror_ifupdown2.git/commit
ifupdown2.conf: add persistent debug logging feature
authorJulien Fortin <jfortin@nvidia.com>
Mon, 16 Aug 2021 13:02:10 +0000 (15:02 +0200)
committerJulien Fortin <jfortin@nvidia.com>
Thu, 26 May 2022 10:25:49 +0000 (12:25 +0200)
commit29ed5855ba02c272479e4f09b0015d5a479d7f86
treeb5ce90d69cc9b97c31e680a1ef7378fa065a684f
parent5e3ea6fc624a03a68da23eb33c4928734d4b73ef
ifupdown2.conf: add persistent debug logging feature

enable persistent ifupdown2 debug logs
ifupdown2 will keep debug logs in /etc/network/ifupdown2/logs
by default the last 42 configurations logs will be kept.
 yes     - (default) enable persistent logging (42 configs)
 no      - disable persistent logging
 [2-9]+  - specify how many configuration logs should be stored
enable_persistent_debug_logging=yes

Signed-off-by: Julien Fortin <jfortin@nvidia.com>
etc/network/ifupdown2/ifupdown2.conf
ifupdown2/ifupdown/statemanager.py
ifupdown2/lib/log.py