opnsense / plugins

OPNsense plugin collection

Home Page:https://opnsense.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

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:

  1. Set ACME log level to debug 3
  2. Run request
  3. 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

Opened pull: #3936