plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Changing the acme client's log level to 'debug' breaks the GUI import of the log

Open petererdos opened this issue 8 years ago • 2 comments

Steps to reproduce:

  • set the log level to debug
  • trigger a certificate renewal
  • go to 'Log file' -> log file displayed
  • refresh the page -> log file not imported anymore (looks like the log file exists because no error is displayed, but seems like it's blank -> in fact, it's not, it's just not imported again)
  • refreshing the page again will not fix this

OPNsense 18.1.1-amd64 FreeBSD 11.1-RELEASE-p6 LibreSSL 2.6.4

petererdos avatar Feb 02 '18 22:02 petererdos

@petererdos Thanks for your report! Unfortunately, there is nothing we can do about it. The debug log contains (more or less) unstructured data that does not suit any sane log pattern.

The help text for "Log Level" already contains a warning:

Specifies the log level for acme.sh, default is "normal". All other log levels add information for debug purposes, but be aware that this will break the log formatting in the GUI.

fraenki avatar Feb 02 '18 23:02 fraenki

It logs literal "\n", which breaks the syslog format...

fichtner avatar Feb 03 '18 09:02 fichtner