if(my_app.getOperatedHost()->logEnabled()) {
anna::diameter::comm::Server *usedServer = my_app.getOperatedEntity()->getLastUsedResource();
anna::diameter::comm::ClientSession *usedClientSession = usedServer ? usedServer->getLastUsedResource() : NULL;
- std::string detail = usedClientSession ? usedClientSession->asString() : "<null client session>"; // shouldn't happen
+ std::string detail = usedClientSession ? usedClientSession->asString() : "[null client session]"; // shouldn't happen
my_app.getOperatedHost()->writeLogFile(codecMsg, (success ? "sent2e" : "send2eError"), detail);
}
// Detailed log:
if(my_app.getOperatedHost()->logEnabled()) {
anna::diameter::comm::ServerSession *usedServerSession = my_app.getOperatedServer()->getLastUsedResource();
- std::string detail = usedServerSession ? usedServerSession->asString() : "<null server session>"; // shouldn't happen
+ std::string detail = usedServerSession ? usedServerSession->asString() : "[null server session]"; // shouldn't happen
my_app.getOperatedHost()->writeLogFile(codecMsg, (success ? "sent2c" : "send2cError"), detail);
}
if (amount > -2) {
testManager.setInProgressLimit(amount);
response = "New in-progress limit: ";
- response += (amount != -1) ? anna::functions::asString(amount) : "<no limit>";
+ response += (amount != -1) ? anna::functions::asString(amount) : "[no limit]";
}
else {
response = "In-progress limit amount: ";
int limit = testManager.getInProgressLimit();
- response += (limit != -1) ? anna::functions::asString(limit) : "<no limit>";
+ response += (limit != -1) ? anna::functions::asString(limit) : "[no limit]";
response += "; currently there are ";
response += anna::functions::asString(testManager.getInProgressCount());
response += " test cases running";