openresty / openresty/lua-resty-redis
Socket errors logged despite being set to off
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 2k
- Forks
- 447
- Avg merge
- 2h 24m
- Merged PRs (30d)
- 3
Description
lua_socket_log_errors off;
However, I still get this in redis error log:
[crit] 2892523#2892523: *4122 connect() to unix:/var/run/redis3/redis3.sock failed (2: No such file or directory)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report concerns lua_socket_log_errors off and a failed Unix-socket connection to /var/run/redis3/redis3.sock. Start by reproducing the connection failure with logging disabled and trace how lua-resty-redis reports socket errors. Done when the expected logging behavior is established and a regression test or documented limitation covers it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- backend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100