Skip to content

fix(syslog): avoid nil logger:log(log_message) when init fails - #13874

Open
Arjen10 wants to merge 1 commit into
apache:masterfrom
Arjen10:fix/syslog-init-fail-return
Open

fix(syslog): avoid nil logger:log(log_message) when init fails#13874
Arjen10 wants to merge 1 commit into
apache:masterfrom
Arjen10:fix/syslog-init-fail-return

Conversation

@Arjen10

@Arjen10 Arjen10 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Description

return false and the init error message to avoid calling logger:log on a nil logger

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant