Skip to content

日志总是会写入today.log #5

Closed

Description

@BigCookie233

日志总是会写入today.log

预期:

以往的日志会被命名为xxxx-xx-xx.log

实际:

新的日志会被追加至today.log末尾

系统环境:Arch Linux (内核: 6.7.9-arch1-1)
Python版本: 3.11.8

Activity

  1. xiaosuawa commented on Mar 17, 2024

    @xiaosuawa
    Member

    这似乎是logging库的问题,我在本地测试时也出现过,请尝试删除today.log后再测试。

  2. BigCookie233 commented on Mar 17, 2024

    @BigCookie233
    ContributorAuthor

    删除today.log后再运行依然会出现此问题

  3. xiaosuawa commented on Mar 17, 2024

    @xiaosuawa
    Member

    删除today.log后再运行依然会出现此问题

    可否提供一个截图

  4. BigCookie233 commented on Mar 17, 2024

    @BigCookie233
    ContributorAuthor

    d30a1d4a-b962-4049-a144-31c4c2e5ec8c

  5. xiaosuawa commented on Mar 17, 2024

    @xiaosuawa
    Member

    到第二天再运行看一下,如果还不行我在考虑修复

  6. xiaosuawa commented on Mar 21, 2024

    @xiaosuawa
    Member

    应该是解决了吧,我关闭了哈

  7. pinned this issue on Mar 24, 2024
  8. BigCookie233 commented on Mar 28, 2024

    @BigCookie233
    ContributorAuthor

    莫名其妙地好了,很奇怪

  9. xiaosuawa commented on Mar 29, 2024

    @xiaosuawa
    Member

    对我也遇到过,删掉就好了

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

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions