~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/logging.cc

  • Committer: Brian Aker
  • Date: 2009-01-06 09:02:30 UTC
  • mfrom: (758.1.5 devel)
  • Revision ID: brian@tangent.org-20090106090230-ov94my79hsiz4bes
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    {
38
38
      /* TRANSLATORS: The leading word "logging" is the name
39
39
         of the plugin api, and so should not be translated. */
40
 
      sql_print_error("logging plugin '%s' init() failed",
 
40
      errmsg_printf(ERRMSG_LVL_ERROR, "logging plugin '%s' init() failed",
41
41
                      plugin->name.str);
42
42
      goto err;
43
43
    }
59
59
    {
60
60
      /* TRANSLATORS: The leading word "logging" is the name
61
61
         of the plugin api, and so should not be translated. */
62
 
      sql_print_error(_("logging plugin '%s' deinit() failed"),
 
62
      errmsg_printf(ERRMSG_LVL_ERROR, _("logging plugin '%s' deinit() failed"),
63
63
                      plugin->name.str);
64
64
    }
65
65
  }
82
82
    {
83
83
      /* TRANSLATORS: The leading word "logging" is the name
84
84
         of the plugin api, and so should not be translated. */
85
 
      sql_print_error(_("logging plugin '%s' logging_pre() failed"),
 
85
      errmsg_printf(ERRMSG_LVL_ERROR, _("logging plugin '%s' logging_pre() failed"),
86
86
                      (char *)plugin_name(plugin));
87
87
      return true;
88
88
    }
115
115
    {
116
116
      /* TRANSLATORS: The leading word "logging" is the name
117
117
         of the plugin api, and so should not be translated. */
118
 
      sql_print_error(_("logging plugin '%s' logging_post() failed"),
 
118
      errmsg_printf(ERRMSG_LVL_ERROR, _("logging plugin '%s' logging_post() failed"),
119
119
                      (char *)plugin_name(plugin));
120
120
      return true;
121
121
    }