MCPcopy Index your code
hub / github.com/ether/etherpad / logIp

Function logIp

src/node/handler/PadMessageHandler.ts:41–41  ·  view source on GitHub ↗
(ip: string | null | undefined)

Source from the content-addressed store, hash-verified

39import {anonymizeIp} from '../utils/anonymizeIp';
40import {isAcceptingConnections} from '../updater/SessionDrainer';
41const logIp = (ip: string | null | undefined) => anonymizeIp(ip, settings.ipLogging);
42const securityManager = require('../db/SecurityManager');
43const plugins = require('../../static/js/pluginfw/plugin_defs');
44import log4js from 'log4js';

Callers 2

handleClientReadyFunction · 0.85

Calls 1

anonymizeIpFunction · 0.90

Tested by

no test coverage detected