Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/scality/cloudserver
/ serverAccessLogger.js
File
serverAccessLogger.js
tests/unit/utils/serverAccessLogger.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
assert = require(
'assert'
);
2
const
sinon = require(
'sinon'
);
3
const
{
4
logServerAccess,
Callers
nothing calls this directly
Calls
11
getRemoteIPFromRequest
Function · 0.85
getOperation
Function · 0.85
getRequester
Function · 0.85
getURI
Function · 0.85
getObjectSize
Function · 0.85
getBytesSent
Function · 0.85
calculateTotalTime
Function · 0.85
calculateTurnAroundTime
Function · 0.85
timestampToDateTime643
Function · 0.85
setServerAccessLogger
Function · 0.85
logServerAccess
Function · 0.85
Tested by
no test coverage detected