#define FMT_HEADER_ONLY 1
#include "fmt/format.h"
#include <map>
-#include "dbstore_log.h"
#include "rgw/rgw_sal.h"
#include "rgw/rgw_common.h"
#include "rgw/rgw_bucket.h"
params->lc_entry_table.c_str(),
params->bucket_table.c_str());
- ldout(params->cct, 0) << "Incorrect table type("<<type<<") specified" << dendl;
+ lsubdout(params->cct, rgw, 0) << "rgw dbstore: Incorrect table type("<<type<<") specified" << dendl;
return NULL;
}
lc_head_table(db_name+".lc_head.table"),
lc_entry_table(db_name+".lc_entry.table"),
cct(_cct),
- dp(_cct, dout_subsys, "rgw DBStore backend: ")
+ dp(_cct, ceph_subsys_rgw, "rgw DBStore backend: ")
{}
/* DB() {}*/
lc_head_table(db_name+".lc_head.table"),
lc_entry_table(db_name+".lc_entry.table"),
cct(_cct),
- dp(_cct, dout_subsys, "rgw DBStore backend: ")
+ dp(_cct, ceph_subsys_rgw, "rgw DBStore backend: ")
{}
virtual ~DB() {}
// vim: ts=8 sw=2 smarttab
#include "dbstore_mgr.h"
+#include "common/dbstore_log.h"
/* Given a tenant, find and return the DBStore handle.
* If not found and 'create' set to true, create one
CODE_ENVIRONMENT_DAEMON, CINIT_FLAG_NO_MON_CONFIG, 1)->get();
cct->_log->set_log_file(logfile);
cct->_log->reopen_log_file();
- cct->_conf->subsys.set_log_level(dout_subsys, loglevel);
+ cct->_conf->subsys.set_log_level(ceph_subsys_rgw, loglevel);
};
~DBStoreManager() { destroyAllHandles(); };