summaryrefslogtreecommitdiff
path: root/server/src/transactionhandler.cc
diff options
context:
space:
mode:
authordeva <deva>2010-07-05 09:01:54 +0000
committerdeva <deva>2010-07-05 09:01:54 +0000
commitfbba835d7efaa4ee1d28bf5c7e2232e53d84af5e (patch)
tree5b71566f174143fea11e21e0c034bd6a1026c03d /server/src/transactionhandler.cc
parent71318f4e56dd1467b071404c61f686745cf3dfc4 (diff)
Remove PRACRO_ prefix from debug macros.
Diffstat (limited to 'server/src/transactionhandler.cc')
-rw-r--r--server/src/transactionhandler.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/src/transactionhandler.cc b/server/src/transactionhandler.cc
index 967b7e9..f549192 100644
--- a/server/src/transactionhandler.cc
+++ b/server/src/transactionhandler.cc
@@ -102,8 +102,8 @@ static std::string handleRequest(Transaction &transaction, Environment &env,
while(i != transaction.requests.end()) {
Request &request = *i;
- PRACRO_DEBUG(server, "Handling request - macro: %s, template: %s\n",
- request.macro.c_str(), request.templ.c_str());
+ DEBUG(server, "Handling request - macro: %s, template: %s\n",
+ request.macro.c_str(), request.templ.c_str());
// Read and parse the template file.
TemplateParser tp(env.templatelist.getLatestVersion(request.templ));
@@ -270,21 +270,21 @@ std::string handleTransaction(Transaction &transaction, Environment &env,
try {
answer += handleCommits(transaction, env, session);
} catch( std::exception &e ) {
- PRACRO_ERR(server, "Commit error: %s\n", e.what());
+ ERR(server, "Commit error: %s\n", e.what());
return error_box(xml_encode(e.what()));
}
try {
answer += handleRequest(transaction, env, session);
} catch( std::exception &e ) {
- PRACRO_ERR(server, "Request error: %s\n", e.what());
+ ERR(server, "Request error: %s\n", e.what());
return error_box(xml_encode(e.what()));
}
answer += "</pracro>\n";
- PRACRO_DEBUG(server, "Done handling transaction\n");
- PRACRO_DEBUG(serverxml, "%s\n", answer.c_str());
+ DEBUG(server, "Done handling transaction\n");
+ DEBUG(serverxml, "%s\n", answer.c_str());
return answer;
}