MCPcopy Create free account
hub / github.com/F-Stack/f-stack / logModulesInfo

Function logModulesInfo

app/redis-6.2.6/src/debug.c:1596–1601  ·  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

1594
1595/* Log modules info. Something we wanna do last since we fear it may crash. */
1596void logModulesInfo(void) {
1597 serverLogRaw(LL_WARNING|LL_RAW, "\n------ MODULES INFO OUTPUT ------\n");
1598 sds infostring = modulesCollectInfo(sdsempty(), NULL, 1, 0);
1599 serverLogRaw(LL_WARNING|LL_RAW, infostring);
1600 sdsfree(infostring);
1601}
1602
1603/* Log information about the "current" client, that is, the client that is
1604 * 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