diff --git a/src/log.c b/src/log.c index 9ca619856..12c8a3a4c 100644 --- a/src/log.c +++ b/src/log.c @@ -1348,7 +1348,7 @@ static int postcheck_log_backend(struct proxy *be) int err_code = ERR_NONE; int target_type = -1; // -1 is unused in log_tgt enum - if (be->mode != PR_MODE_SYSLOG || + if (!(be->cap & PR_CAP_BE) || be->mode != PR_MODE_SYSLOG || (be->flags & (PR_FL_DISABLED|PR_FL_STOPPED))) return ERR_NONE; /* nothing to do */