"GnuPG Log Viewer" (formerly known as kwatchgnupg, only available in Kleopatra on Linux) does log debug output to a socket.
When the log is started, it will write the log-socket to all conf files in GNUPGHOME and won't remove those entries again. This does cause at least warnings on the command line when kwatchgnupg is no longer running, but may also result in no verification results shown there, like in this case here:
https://forum.gnupg.org/t/problem-with-socket-connection-refused/4669/9
Edit 2024-10-31:
How do we want to solve this?
For one thing writing to all config files is overkill and for another the entries should be deleted again when logging is stopped.
But even it they are to be deleted it still might happen that something crashes and the entry is not deleted sometimes, I guess.
Would it be possible to only create a temporary log socket somehow, which will automatically disappear?
See https://dev.gnupg.org/T7259#190336 for how this should be solved.