diff --git a/esp/logging/loggingmanager/loggingmanager.cpp b/esp/logging/loggingmanager/loggingmanager.cpp index 75b9b9f937c..667881d3f22 100644 --- a/esp/logging/loggingmanager/loggingmanager.cpp +++ b/esp/logging/loggingmanager/loggingmanager.cpp @@ -116,6 +116,7 @@ bool CLoggingManager::updateLog(const char* option, IEspContext& espContext, IPr const char* userId = espContext.queryUserId(); if (userId && *userId) espContextTree->addProp("UserName", userId); + espContextTree->addPropInt64("ResponseTime", (__int64)(msTick()-espContext.queryCreationTime())/1000); Owned req = new CUpdateLogRequestWrap(NULL, option, espContextTree.getClear(), LINK(userContext), LINK(userRequest), backEndResp, userResp);