MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / logModulesInfo

Function logModulesInfo

src/debug.cpp:1816–1821  ·  view source on GitHub ↗

Log modules info. Something we wanna do last since we fear it may crash. */

Source from the content-addressed store, hash-verified

1814
1815/* Log modules info. Something we wanna do last since we fear it may crash. */
1816void logModulesInfo(void) {
1817 serverLogRaw(LL_WARNING|LL_RAW, "\n------ MODULES INFO OUTPUT ------\n");
1818 sds infostring = modulesCollectInfo(sdsempty(), NULL, 1, 0);
1819 serverLogRaw(LL_WARNING|LL_RAW, infostring);
1820 sdsfree(infostring);
1821}
1822
1823/* Log information about the "current" client, that is, the client that is
1824 * currently being served by Redis. May be NULL if Redis is not serving a

Callers 1

printCrashReportFunction · 0.85

Calls 4

serverLogRawFunction · 0.85
modulesCollectInfoFunction · 0.85
sdsemptyFunction · 0.85
sdsfreeFunction · 0.85

Tested by

no test coverage detected