Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a72327
)
accesslog: Add standard response header for logging user info.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 9 Aug 2023 17:14:12 +0000
(19:14 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 9 Aug 2023 17:14:12 +0000
(19:14 +0200)
src/accesslog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/accesslog.c
b/src/accesslog.c
index
7c550dd
..
e419587
100644
(file)
--- 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);