-
Notifications
You must be signed in to change notification settings - Fork 923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consistent spelling of "Lua record" in logs #15180
Conversation
Pull Request Test Coverage Report for Build 13431348177Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
The docs and the database call it LUA, so I feel that's also the casing we should consistently use in logs, even if it looks a bit shouty |
The doc say the correct spelling is "Lua" but due to DNS constraints the records need to be called "LUA". Since logs are not DNS records, I thought "Lua" would be a better choice. But I have no problem changing the logs to "LUA" as long as they're consistent, if you prefer this spelling. |
I should have looked at the docs before I made that claim! I do prefer 'Lua' but I'm unsure which would be less confusing. Ok, let's go with 'Lua' :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved, but I note there are a few mentions of LUA record
left in auth-main.cc (settings, not logs) and packethandler.cc (in debug logging)
Nobody reads the documentation anyway, so you had the Right™ behaviour. Plus it's hidden in a note in |
Short description
While trying to help a user trying to make use of Lua records, I couldn't help but notice the related log messages would use different spellings for "Lua".
This PR attempts to homogeneize this, to make searching in the logs easier.
Checklist
I have: