Skip to content

Commit

Permalink
Removed the remote port portion from the host format.
Browse files Browse the repository at this point in the history
This should adddress CADDY's v2.5.0 change where the remote port has its own
JSON property.

Fixes #2220
  • Loading branch information
allinurl committed Mar 15, 2022
1 parent ec64504 commit f59ce6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static const GPreConfLog logs = {
"%^ %v [%d:%t %^] %h %^\"%r\" %s %^ %b %^ %L %^ \"%R\" \"%u\"", /* Amazon S3 */

/* Caddy JSON */
"{ \"ts\": \"%x.%^\", \"request\": { \"remote_addr\": \"%h:%^\", \"proto\":"
"{ \"ts\": \"%x.%^\", \"request\": { \"remote_addr\": \"%h\", \"proto\":"
"\"%H\", \"method\": \"%m\", \"host\": \"%v\", \"uri\": \"%U\", \"headers\": {"
"\"User-Agent\": [\"%u\"], \"Referer\": [\"%R\"] }, \"tls\": { \"cipher_suite\":"
"\"%k\", \"proto\": \"%K\" } }, \"duration\": \"%T\", \"size\": \"%b\","
Expand Down

0 comments on commit f59ce6f

Please sign in to comment.