minor doc

This commit is contained in:
Michael Davidsaver
2019-01-13 19:00:24 -08:00
parent bfff9275bd
commit b46e0972ea
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ size_t ResponseHandler::num_instances;
ResponseHandler::ResponseHandler(Context* context, const std::string& description)
:_description(description)
,_debugLevel(context->getConfiguration()->getPropertyAsInteger(PVACCESS_DEBUG, 0))
,_debugLevel(context->getConfiguration()->getPropertyAsInteger(PVACCESS_DEBUG, 0)) // actually $EPICS_PVA_DEBUG
{
REFTRACE_INCREMENT(num_instances);
}

View File

@@ -115,7 +115,7 @@ void ServerContextImpl::loadConfiguration()
Configuration::const_shared_pointer config = configuration;
// TODO for now just a simple switch
int32 debugLevel = config->getPropertyAsInteger(PVACCESS_DEBUG, 0);
int32 debugLevel = config->getPropertyAsInteger(PVACCESS_DEBUG, 0); // actually $EPICS_PVA_DEBUG
if (debugLevel > 0)
SET_LOG_LEVEL(logLevelDebug);