mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #116] [MERGED] feat: support customize http log format #477
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigoden/dufs/pull/116
Author: @sigoden
Created: 7/30/2022
Status: ✅ Merged
Merged: 7/31/2022
Merged by: @sigoden
Base:
main← Head:feat-log-format📝 Commits (4)
ede37acfeat: support customize http log format5861925implement14d3771add testsfe3d7e0fix no_log📊 Changes
7 files changed (+255 additions, -27 deletions)
View changed files
📝
README.md(+19 -1)📝
src/args.rs(+20 -8)📝
src/auth.rs(+29 -12)➕
src/log_http.rs(+99 -0)📝
src/main.rs(+1 -0)📝
src/server.rs(+9 -6)➕
tests/log_http.rs(+78 -0)📄 Description
dufs supports customize http log format via option
--log-format.The default format is
$remote_addr "$request" $status.All variables list below:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.