summaryrefslogtreecommitdiff
path: root/server/src/journal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/journal.cc')
-rw-r--r--server/src/journal.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/server/src/journal.cc b/server/src/journal.cc
index 288f7c2..1f79c9f 100644
--- a/server/src/journal.cc
+++ b/server/src/journal.cc
@@ -44,13 +44,13 @@ void Journal::addEntry(Transaction &transaction, Commit &commit,
}
if(index >= templ->macros.size()) {
- PRACRO_ERR(journal, "Could not find macro %s in template %s\n",
- commit.macro.c_str(), templ->attributes["name"].c_str());
+ ERR(journal, "Could not find macro %s in template %s\n",
+ commit.macro.c_str(), templ->attributes["name"].c_str());
// return;
} else {
- PRACRO_DEBUG(journal, "Found macro %s as index %u in template %s\n",
- commit.macro.c_str(), index,
- templ->attributes["name"].c_str());
+ DEBUG(journal, "Found macro %s as index %u in template %s\n",
+ commit.macro.c_str(), index,
+ templ->attributes["name"].c_str());
}
if(entrylist.size() == 0) {
@@ -58,8 +58,8 @@ void Journal::addEntry(Transaction &transaction, Commit &commit,
if(patientID() == "")setPatientID(transaction.cpr);
}
- PRACRO_DEBUG(journal, "addEntry: template(%s)\n",
- templ->attributes["name"].c_str());
+ DEBUG(journal, "addEntry: template(%s)\n",
+ templ->attributes["name"].c_str());
// Test if the username or the cpr has changed...
// if so, commit and clear the list.