~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/syslog/module.cc

  • Committer: Brian Aker
  • Date: 2011-10-19 19:30:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2444.
  • Revision ID: brian@tangent.org-20111019193054-pxnb4hflrmbfhmbm
Fix level_t to be more inline with syslog

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
  WrapSyslog::singleton().openlog(vm["ident"].as<string>());
55
55
  if (sysvar_errmsg_enable)
56
56
  {
57
 
    context.add(new error_message::Syslog(vm["facility"].as<string>(),
58
 
                                          vm["errmsg-priority"].as<string>()));
 
57
    context.add(new error_message::Syslog(vm["facility"].as<string>()));
59
58
  }
60
59
 
61
60
  if (sysvar_logging_enable)
62
61
  {
63
62
    context.add(new logging::Syslog(vm["facility"].as<string>(),
64
 
                                    vm["logging-priority"].as<string>(),
65
63
                                    sysvar_logging_threshold_slow.get(),
66
64
                                    sysvar_logging_threshold_big_resultset.get(),
67
65
                                    sysvar_logging_threshold_big_examined.get()));