Skip to content

多余的日志 #9141

@Nether-wart

Description

@Nether-wart

Please make sure of the following things

  • I have read the documentation.
    I'm sure it's a reasonable and popular requirement.
    I'm sure there are no duplicate issues or discussions.
    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/gin@v1.10.0/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/gin@v1.10.0/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/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/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

Activity

sheltonzhu0501

sheltonzhu0501 commented on Jun 23, 2025

@sheltonzhu0501

Make a wish, brother.
You can file a complaint with their company.
https://www.bugotech.com/other.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sheltonzhu0501@Nether-wart

        Issue actions

          多余的日志 · Issue #9141 · AlistGo/alist