Trim out most noise, keep things that are interesting.
Notably, we are logging each message sent and received, and we are logging
the filestore operations when they get queued. Those may still benefit
from being turned off in high IOPS environments.
Signed-off-by: Sage Weil <sage@inktank.com>
<< "' to " << p->second << " failed" << dendl;
out.append("failed");
} else {
- ldout(m_cct, 20) << "AdminSocket: request '" << match << "' '" << args
+ ldout(m_cct, 5) << "AdminSocket: request '" << match << "' '" << args
<< "' to " << p->second
<< " returned " << out.length() << " bytes" << dendl;
}
OPTION(mon_cluster_log_file, OPT_STR, "/var/log/ceph/$cluster.log")
DEFAULT_SUBSYS(0, 5)
-SUBSYS(lockdep, 0, 5)
-SUBSYS(context, 0, 5)
-SUBSYS(crush, 1, 5)
+SUBSYS(lockdep, 0, 1)
+SUBSYS(context, 0, 1)
+SUBSYS(crush, 1, 1)
SUBSYS(mds, 1, 5)
SUBSYS(mds_balancer, 1, 5)
SUBSYS(mds_locker, 1, 5)
SUBSYS(mds_log, 1, 5)
SUBSYS(mds_log_expire, 1, 5)
SUBSYS(mds_migrator, 1, 5)
-SUBSYS(buffer, 0, 0)
-SUBSYS(timer, 0, 5)
-SUBSYS(filer, 0, 5)
-SUBSYS(striper, 0, 5)
-SUBSYS(objecter, 0, 0)
+SUBSYS(buffer, 0, 1)
+SUBSYS(timer, 0, 1)
+SUBSYS(filer, 0, 1)
+SUBSYS(striper, 0, 1)
+SUBSYS(objecter, 0, 1)
SUBSYS(rados, 0, 5)
SUBSYS(rbd, 0, 5)
SUBSYS(journaler, 0, 5)
SUBSYS(osd, 0, 5)
SUBSYS(optracker, 0, 5)
SUBSYS(objclass, 0, 5)
-SUBSYS(filestore, 1, 5)
-SUBSYS(journal, 1, 5)
+SUBSYS(filestore, 1, 3)
+SUBSYS(journal, 1, 3)
SUBSYS(ms, 0, 5)
SUBSYS(mon, 1, 5)
-SUBSYS(monc, 0, 5)
+SUBSYS(monc, 0, 10)
SUBSYS(paxos, 0, 5)
SUBSYS(tp, 0, 5)
SUBSYS(auth, 1, 5)
-SUBSYS(finisher, 1, 5)
+SUBSYS(finisher, 1, 1)
SUBSYS(heartbeatmap, 1, 5)
SUBSYS(perfcounter, 1, 5)
SUBSYS(rgw, 1, 5) // log level for the Rados gateway
void FileJournal::flush()
{
- dout(5) << "waiting for completions to empty" << dendl;
+ dout(10) << "waiting for completions to empty" << dendl;
{
Mutex::Locker l(finisher_lock);
while (!completions_empty())
finisher_cond.Wait(finisher_lock);
}
- dout(5) << "flush waiting for finisher" << dendl;
+ dout(10) << "flush waiting for finisher" << dendl;
finisher->wait_for_empty();
- dout(5) << "flush done" << dendl;
+ dout(10) << "flush done" << dendl;
}
finished_lock.Unlock();
- dout(2) << "do_waiters -- start" << dendl;
+ dout(10) << "do_waiters -- start" << dendl;
for (list<OpRequestRef>::iterator it = waiting.begin();
it != waiting.end();
it++)
dispatch_op(*it);
- dout(2) << "do_waiters -- finish" << dendl;
+ dout(10) << "do_waiters -- finish" << dendl;
}
}