mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1309] File upload stat in /var/log/message #700
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#700
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?
Originally created by @rsravanam on GitHub (Jun 18, 2020).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1309
Details about the issue
I have an s3 mount to the /folder in my CentOS7.6 machine. I have enabled the debug level as INFO. I have observed that 1GB file writes large number of log lines in /var/log/messages and i am unable to understand the file get uploaded or not.
_What i need exactly is, when a file get uploaded from s3 mount folder to s3-bucket it should log in /var/log/messages be like "INFO: File /data/flow.json uploaded to BUCKET_NAME" Is there a way to get it, or do i need to do configure any in s3-fuse?
My team wants to read that line and keeps the history of file upload stats
Any help on this, please?
My fs tab entry:
s3fs#my-s3-bucket /my-folder fuse _netdev,uid=owt,gid=owt,allow_other,use_cache=/tmp,mp_umask=022,dbglevel=info,retries=5, 0 0
@gaul commented on GitHub (Jul 26, 2020):
s3fs sends objects to S3 during
fsyncandclose. If you application issues these calls, then it will be uploaded to S3. There is currently no asynchronous flushing.