OPTION(debug_objectcacher, OPT_INT, 0)
OPTION(debug_client, OPT_INT, 0)
OPTION(debug_osd, OPT_INT, 0)
+OPTION(debug_objclass, OPT_INT, 0)
OPTION(debug_filestore, OPT_INT, 1)
OPTION(debug_journal, OPT_INT, 1)
OPTION(debug_bdev, OPT_INT, 1) // block device
#include <iostream>
+#define DOUT_SUBSYS objclass
+
int cls_log(const char *format, ...)
{
int size = 256, n;
va_end(ap);
#define MAX_SIZE 8196
if ((n > -1 && n < size) || size > MAX_SIZE) {
- derr << buf << dendl;
+ dout(1) << buf << dendl;
return n;
}
size *= 2;