Hi,
first of all: thanks for the update and your hard work!!
Today I updated my testsystem to PI 3.5. Now I get the “error 500” on every request. The problem is somewhere in the logging.yml, which worked in 3.4.1. If I disable the container-audit, its ok again.
The error is:
File “/opt/privacyidea/lib/python3.6/site-packages/privacyidea/lib/audit.py”, line 77, in getAudit
audit = get_module_class(audit_module, “Audit”, “log”)(config, startdate)
TypeError: init() takes from 1 to 2 positional arguments but 3 were given
Here’s my logging.yml
version: 1
handlers:
file:
class: logging.handlers.RotatingFileHandler
backupCount: 5
maxBytes: 1000000
level: INFO
filename: /var/log/privacyidea/privacyidea-audit.log
loggers:
privacyidea:
handlers:
- file
level: INFO
Without the formatter it produced parseable JSON-output.
I hope, somebody could help me.