Open
Description
slapdtest
configured a https://docs.python.org/3/library/logging.handlers.html#logging.handlers.SysLogHandler instance.
Lines 62 to 70 in 4b97671
There are three issues:
- The whole test suite fails when syslog is not available, e.g. in a container or restricted build environment.
- It hard codes path
/dev/log
which is not correct on macOS. - IMO tests should not log to syslog at all.
PR #28 is a temporary workaround. It modifies logger configuration to omit SysLogHandler when /dev/syslog
does not exist.