~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/syslog/logging.cc

  • Committer: Brian Aker
  • Date: 2011-02-01 02:51:01 UTC
  • mto: (2132.1.1 drizzle-build)
  • mto: This revision was merged to the branch mainline in revision 2134.
  • Revision ID: brian@tangent.org-20110201025101-yaj5kkdk2towo6ou
Merge in error message rework. Many error messages are fixed in this patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
{
52
52
  if (_facility < 0)
53
53
  {
54
 
    drizzled::errmsg_printf(ERRMSG_LVL_WARN,
 
54
    drizzled::errmsg_printf(drizzled::error::WARN,
55
55
                            _("syslog facility \"%s\" not known, using \"local0\""),
56
56
                            facility.c_str());
57
57
    _facility= WrapSyslog::getFacilityByName("local0");
59
59
 
60
60
  if (_priority < 0)
61
61
  {
62
 
    drizzled::errmsg_printf(ERRMSG_LVL_WARN,
 
62
    drizzled::errmsg_printf(drizzled::error::WARN,
63
63
                            _("syslog priority \"%s\" not known, using \"info\""),
64
64
                            priority.c_str());
65
65
    _priority= WrapSyslog::getPriorityByName("info");