From: Martin Mares Date: Sun, 6 Aug 2017 20:04:19 +0000 (+0200) Subject: Apache: Improved logging X-Git-Tag: v0.9~30 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=37231aed4341774534e6ee9ff71cc06614611e1d;p=subauth.git Apache: Improved logging --- diff --git a/apache/mod_authn_subauth.c b/apache/mod_authn_subauth.c index 21108e2..a8d706a 100644 --- a/apache/mod_authn_subauth.c +++ b/apache/mod_authn_subauth.c @@ -61,7 +61,7 @@ static struct json_node *run_command(struct context *ctx, struct json_node *requ strcpy(sun.sun_path, path); if (connect(sk, (struct sockaddr *) &sun, sizeof(sun)) < 0) { - ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, ctx->r, "SubAuth cannot connect to server"); + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, ctx->r, "SubAuth cannot connect to server at %s", path); goto fail1; }