mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #156] recommend output logs like nginx. #73
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?
Originally created by @laminux29 on GitHub (Dec 23, 2022).
Original GitHub issue: https://github.com/sigoden/dufs/issues/156
Nginx has two types of logs:
/var/log/nginx/access.log
/var/log/nginx/error.log
It is recommended to output log files to /var/log, a directory dedicated to storing logs.
Maybe:
/var/log/dufs/access.log
and
/var/log/dufs/error.log
or
/var/log/dufs_access.log
/var/log/dufs_error.log
@sigoden commented on GitHub (Dec 23, 2022):
dufs don't output any error, do print access log to stdout.
run
dufs > /var/log/dufs_access.logto store access log.