Skip to content

bug: The logrotate plugin causes custom plugin logs not to be printed #13368

@yeri131026

Description

@yeri131026

Current Behavior

After configuring the logrotate plugin, after the logs are cut, the core.log.info of the custom plugin cannot output logs, and access.log also has no log output

Image

Expected Behavior

No response

Error Logs

No response

Steps to Reproduce

After restarting apisix, the log starts printing again

Environment

  • APISIX version (run apisix version):
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplugin

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions