[PR #726] [MERGED] add an instance_name option for logging #1618

Closed
opened 2026-03-04 02:01:20 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: instance_name_logging


📝 Commits (1)

  • b52b6f3 add 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.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/726 **Author:** [@orozery](https://github.com/orozery) **Created:** 2/28/2018 **Status:** ✅ Merged **Merged:** 3/4/2018 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `instance_name_logging` --- ### 📝 Commits (1) - [`b52b6f3`](https://github.com/s3fs-fuse/s3fs-fuse/commit/b52b6f3fc55630f29da02dd5ab2a917cfd72135f) add an instance_name option for logging ### 📊 Changes **5 files changed** (+19 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:01:20 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1618
No description provided.