valkey icon indicating copy to clipboard operation
valkey copied to clipboard

Occurrences of "Redis" in log entries

Open zuiderkwast opened this issue 1 year ago • 7 comments

We decided (in #254) to change all log entries containing "Redis" to use this style:

serverLog(LL_NOTICE, "%s forked for debugging eval", SERVER_TITLE);

also serverPanic is logging, so we use %s for this too:

serverPanic("Unrecoverable error creating %s Cluster socket accept handler.", SERVER_TITLE);

We shall define SERVER_TITLE to "Valkey" in server.h. (It's different to SERVER_NAME which is "valkey" with lowercase "v".)

Skip the "=== REDIS BUG REPORT". We'll handle that in a separate PR for #274.

zuiderkwast avatar Apr 04 '24 16:04 zuiderkwast

@0del do you want to do this one?

zuiderkwast avatar Apr 04 '24 16:04 zuiderkwast

Please assign it to me. Thanks. I will pick it up later, perhaps tomorrow morning. It's nighttime in my time zone now.

9bany avatar Apr 04 '24 16:04 9bany

We decided (in #254) to change all log entries containing "Redis" to use this style:

serverLog(LL_NOTICE, "%s forked for debugging eval", SERVER_TITLE);

also serverPanic is logging, so we use %s for this too:

serverPanic("Unrecoverable error creating %s Cluster socket accept handler.", SERVER_TITLE);

We shall define SERVER_TITLE to "Valkey" in server.h. (It's different to SERVER_NAME which is "valkey" with lowercase "v".)

Skip the "=== REDIS BUG REPORT". We'll handle that in a separate PR for #274.

For all the other log entres, I would prefer to have them all in one big PR. The risk for merge conflicts is less now that most other rebranding is already done.

@0del are you still up for this? If not, I can do it.

zuiderkwast avatar Apr 11 '24 16:04 zuiderkwast

sure, i will still work on it

9bany avatar Apr 11 '24 16:04 9bany

@0del I'm adding the macro SERVER_TITLE in #306 (in version.h). You can add it exactly the same in your PR too, in the same file, and if one of us gets a merge conflict, it will be easy to solve.

zuiderkwast avatar Apr 12 '24 15:04 zuiderkwast

Is this completed? @zuiderkwast

SoulPancake avatar Apr 23 '24 15:04 SoulPancake

I think there are some log messages left todo.

zuiderkwast avatar Apr 23 '24 15:04 zuiderkwast

@zuiderkwast Do you recall if this was finalized? I thought we finished this, but Valkey 8 is when it should all be done.

madolson avatar Sep 04 '24 16:09 madolson

I'm not sure. We should probably grep again to check.

zuiderkwast avatar Sep 04 '24 20:09 zuiderkwast

$ git grep -i serverlog.*redis
src/module.c:                serverLog(LL_NOTICE, "Legacy Redis Module %s found", path);
src/module.c:                serverLog(LL_NOTICE, "Legacy Redis Module %s found", name);
src/rdb.c:                serverLog(LL_NOTICE, "Loading RDB produced by Redis version %s", (char *)auxval->ptr);

These are as expected. I can't see any multiline log entries with redis either.

zuiderkwast avatar Sep 04 '24 20:09 zuiderkwast