mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #726] [MERGED] add an instance_name option for logging #1618
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1618
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/s3fs-fuse/s3fs-fuse/pull/726
Author: @orozery
Created: 2/28/2018
Status: ✅ Merged
Merged: 3/4/2018
Merged by: @ggtakec
Base:
master← Head:instance_name_logging📝 Commits (1)
b52b6f3add an instance_name option for logging📊 Changes
5 files changed (+19 additions, -4 deletions)
View changed files
📝
doc/man/s3fs.1(+4 -0)📝
src/common.h(+5 -4)📝
src/curl.cpp(+1 -0)📝
src/s3fs.cpp(+6 -0)📝
src/s3fs_util.cpp(+3 -0)📄 Description
Details
This PR adds a new option to s3fs: instance_name.
If specified, this string will be added to each logging message in syslog and to the user-agent header.
This allows an easier log analysis when running multiple instances of s3fs on the same host.
By default, s3fs will keep its old behavior (syslog messages and user-agent headers will stay as they were prior to this PR).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.