diff options
author | deva <deva> | 2010-07-05 09:01:54 +0000 |
---|---|---|
committer | deva <deva> | 2010-07-05 09:01:54 +0000 |
commit | fbba835d7efaa4ee1d28bf5c7e2232e53d84af5e (patch) | |
tree | 5b71566f174143fea11e21e0c034bd6a1026c03d /server/src/transactionhandler.cc | |
parent | 71318f4e56dd1467b071404c61f686745cf3dfc4 (diff) |
Remove PRACRO_ prefix from debug macros.
Diffstat (limited to 'server/src/transactionhandler.cc')
-rw-r--r-- | server/src/transactionhandler.cc | 12 |
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; } |