Skip to content

会创造大量docker日志,填满磁盘 #707

Description

@sirenboke

每天都会创建大量日志,导致磁盘被空间

Activity

  1. yueying23 commented on Mar 18, 2026

    @yueying23

    每天都会创建大量日志,导致磁盘被空间

    启动时把这个参数--spring.profiles.active=prod删掉应该就可以了,生产环境的配置应该是指定了日志输出到文件,我后来就没有配这个参数了,日志一直0kb

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions