moying2026 opened a new pull request, #13390:
URL: https://github.com/apache/apisix/pull/13390

   ### Description
   
   This PR corrects the syslog emergency severity name used by the `loggly` 
plugin and the RFC5424 utility from `EMEGR` to `EMERG`.
   
   `EMERG` is the standard syslog severity name for severity value `0`. The 
current typo makes `severity: "EMERG"` fail schema validation and the docs 
currently advertise the misspelled value.
   
   ### Checklist
   
   - [x] Correct `loggly` severity enum from `EMEGR` to `EMERG`
   - [x] Correct `apisix.utils.rfc5424` severity map from `EMEGR` to `EMERG`
   - [x] Update English and Chinese loggly plugin docs
   - [x] Add a regression case to ensure `EMERG` is accepted and the old 
misspelling is rejected
   
   ### Tests
   
   - [x] `git diff --check`
   - [ ] `make test TEST_FILE=t/plugin/loggly.t` (not run successfully in my 
local environment because OpenResty is not installed: `WARNING: OpenResty not 
found`)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to