多余的日志
Please make sure of the following things
- [x] I have read the documentation.
- [x] I'm sure it's a reasonable and popular requirement.
- [x] I'm sure there are no duplicate issues or discussions.
- [x] I'm sure this feature is not implemented.
Description of the feature / 需求描述
Alist会在遇到object not found 时将完整的错堆栈跟踪记录到日志中,这很多余,这不是因程序错误引起的,我希望不要在日志中记录这些多余的部分。
Suggested solution / 实现思路
No response
Additional context / 附件
多余的日志
[33mWARN[0m[2025-06-19 20:06:53] failed get /log/desktop.ini: object not found [31mERRO[0m[2025-06-19 20:06:53] PROPFIND /dav/log/desktop.ini object not found github.com/alist-org/alist/v3/internal/op.Get /home/runner/work/alist/alist/internal/op/fs.go:227 github.com/alist-org/alist/v3/internal/fs.get /home/runner/work/alist/alist/internal/fs/get.go:38 github.com/alist-org/alist/v3/internal/fs.Get /home/runner/work/alist/alist/internal/fs/fs.go:37 github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind /home/runner/work/alist/alist/server/webdav/webdav.go:633 github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP /home/runner/work/alist/alist/server/webdav/webdav.go:76 github.com/alist-org/alist/v3/server.ServeWebDAV /home/runner/work/alist/alist/server/webdav.go:46 github.com/gin-gonic/gin.(*Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 github.com/alist-org/alist/v3/server.WebDAVAuth /home/runner/work/alist/alist/server/webdav.go:113 github.com/gin-gonic/gin.(*Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /home/runner/work/alist/alist/server/middlewares/check.go:14 github.com/gin-gonic/gin.(*Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102 github.com/gin-gonic/gin.(*Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:249 github.com/gin-gonic/gin.(*Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest /home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:633 github.com/gin-gonic/gin.(*Engine).ServeHTTP /home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:589 net/http.serverHandler.ServeHTTP /opt/hostedtoolcache/go/1.23.4/x64/src/net/http/server.go:3210 net/http.(*conn).serve /opt/hostedtoolcache/go/1.23.4/x64/src/net/http/server.go:2092 runtime.goexit /opt/hostedtoolcache/go/1.23.4/x64/src/runtime/asm_amd64.s:1700
Make a wish, brother. You can file a complaint with their company. https://www.bugotech.com/other.html