summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2010-03-23 17:54:50 +0000
committerSimon McVittie <smcv@debian.org>2010-03-23 18:33:34 +0000
commit3f6e6bbcf6ebe9f435c7a4c87c13751fd6b21ddf (patch)
tree7152e2d27acf36185fb1e414aa03b25ea380b430
parent150c60c9bbcf474ee75333aa6b09d15db9ec9e1d (diff)
tpl_log_manager_add_message: don't repeat method name in CRITICAL()
The CRITICAL macro adds G_STRFUNC (like DEBUG does) anyway.
-rw-r--r--telepathy-logger/log-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-logger/log-manager.c b/telepathy-logger/log-manager.c
index 18b2c809f..c5d5ae9eb 100644
--- a/telepathy-logger/log-manager.c
+++ b/telepathy-logger/log-manager.c
@@ -244,7 +244,7 @@ tpl_log_manager_add_message (TplLogManager *manager,
result = tpl_log_store_add_message (store, message, &loc_error);
if (!result)
{
- CRITICAL ("tpl_log_manager_add_message: logstore name=%s: %s. "
+ CRITICAL ("logstore name=%s: %s. "
"Event may not be logged properly.",
tpl_log_store_get_name (store), loc_error->message);
g_clear_error (&loc_error);
@@ -254,7 +254,7 @@ tpl_log_manager_add_message (TplLogManager *manager,
}
if (!retval)
{
- CRITICAL ("tpl_log_manager_add_message: Failed to write to all "
+ CRITICAL ("Failed to write to all "
"writable LogStores log-id %s.", tpl_log_entry_get_log_id (message));
g_set_error_literal (error, TPL_LOG_MANAGER_ERROR,
TPL_LOG_MANAGER_ERROR_ADD_MESSAGE,