summaryrefslogtreecommitdiff
path: root/project2/common/cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/cache.cpp')
-rw-r--r--project2/common/cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/project2/common/cache.cpp b/project2/common/cache.cpp
index ff9f41f..9be5845 100644
--- a/project2/common/cache.cpp
+++ b/project2/common/cache.cpp
@@ -18,12 +18,12 @@ bool Cache::checkAndExecute(const Glib::ustring & n, const Glib::ustring & f, co
RowSetCPtr cached = getCachedRowSet(n, f, rp);
if (cached) {
try {
- Logger()->messagef(LOG_DEBUG, "Executing from cache '%s'", name.c_str());
+ Logger()->messagebf(LOG_DEBUG, "Executing from cache '%s'", name);
cached->execute(f, rp);
return true;
}
catch (const Glib::Exception & e) {
- Logger()->messagef(LOG_WARNING, "Cache failed (%s)", e.what().c_str());
+ Logger()->messagebf(LOG_WARNING, "Cache failed (%s)", e.what());
}
catch (const std::exception & e) {
Logger()->messagef(LOG_WARNING, "Cache failed (%s)", e.what());