security/acme-client: logging level not set correctly
mkerost opened this issue · comments
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- The title contains the plugin to which this issue belongs
Describe the bug
The GUI ACME log level setting doesn't work properly. Opnsense is not passing the right --syslog number when I set logging to "debug 3". The log shows that opnsense passed --syslog 7 but 7 is only debug level 1. It should be --syslog 9 for debug 3, --syslog 8 for debug 2, and --syslog 7 for debug 1. See line number 133 in acme.sh
To Reproduce
Steps to reproduce the behavior:
- Set ACME log level to debug 3
- Run request
- Look at command that was run in log file and see that it's
--syslog 7
Expected behavior
The command should show that param was set to --syslog 9
Environment
OPNsense 24.1.6-amd64
ACME 4.2