From: Fredrik Tolf Date: Wed, 9 Aug 2023 17:14:12 +0000 (+0200) Subject: accesslog: Add standard response header for logging user info. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=5db75597d67ca7830e20c1ca2fabb20f542ae336;p=ashd.git accesslog: Add standard response header for logging user info. --- diff --git a/src/accesslog.c b/src/accesslog.c index 7c550dd..e419587 100644 --- a/src/accesslog.c +++ b/src/accesslog.c @@ -518,7 +518,7 @@ int main(int argc, char **argv) pidfile = optarg; break; case 'a': - format = "%A - - [%{%d/%b/%Y:%H:%M:%S %z}t] \"%m %u %v\" %c %o \"%R\" \"%G\""; + format = "%A - %{log-user}P [%{%d/%b/%Y:%H:%M:%S %z}t] \"%m %u %v\" %c %o \"%R\" \"%G\""; break; default: usage(stderr);