encode(req, bl);
ldout(cct, 10) << "get auth session key: client_challenge "
- << hex << req.client_challenge << dendl;
+ << std::hex << req.client_challenge << std::dec << dendl;
return 0;
}
decode(ch, indata);
server_challenge = ch.server_challenge;
ldout(cct, 10) << " got initial server challenge "
- << hex << server_challenge << dendl;
+ << std::hex << server_challenge << std::dec << dendl;
starting = false;
tickets.invalidate_ticket(CEPH_ENTITY_TYPE_AUTH);
void Client::trim_dentry(Dentry *dn)
{
ldout(cct, 15) << "trim_dentry unlinking dn " << dn->name
- << " in dir " << hex << dn->dir->parent_inode->ino
+ << " in dir "
+ << std::hex << dn->dir->parent_inode->ino << std::dec
<< dendl;
if (dn->inode) {
Inode *diri = dn->dir->parent_inode;
<< " on " << m->get_ino()
<< " tid " << m->get_client_tid() << " follows " << follows
<< " op " << ceph_cap_op_name(m->get_op())
- << " flags 0x" << hex << m->flags << dendl;
+ << " flags 0x" << std::hex << m->flags << std::dec << dendl;
Session *session = mds->get_session(m);
if (!mds->is_clientreplay() && !mds->is_active() && !mds->is_stopping()) {
if (!collector) {
derr << __func__ << " " << key.first << "." << key.second
<< " sent me an unknown health metric: "
- << hex << static_cast<uint8_t>(metric.get_type()) << dendl;
+ << std::hex << static_cast<uint8_t>(metric.get_type())
+ << std::dec << dendl;
continue;
}
dout(20) << " + " << state->key << " "
MOSDMap *OSDMonitor::build_incremental(epoch_t from, epoch_t to, uint64_t features)
{
- dout(10) << "build_incremental [" << from << ".." << to << "] with features " << std::hex << features << dendl;
+ dout(10) << "build_incremental [" << from << ".." << to << "] with features "
+ << std::hex << features << std::dec << dendl;
MOSDMap *m = new MOSDMap(mon->monmap->fsid, features);
m->oldest_map = get_first_committed();
m->newest_map = osdmap.get_epoch();
if (i.second & blob.unused) {
derr << "fsck error: " << oid << " blob claims unused 0x"
<< std::hex << blob.unused
- << " but extents reference 0x" << i.second
+ << " but extents reference 0x" << i.second << std::dec
<< " on blob " << *i.first << dendl;
++errors;
}
// since we will never allocate this region below min_alloc_size.
dout(10) << __func__ << " ignoring free extent between SUPER_RESERVED"
<< " and min_alloc_size, 0x" << std::hex << offset << "~"
- << length << dendl;
+ << length << std::dec << dendl;
} else {
intersects = true;
if (repair) {
}
dout(10) << " pgnls candidate 0x" << std::hex << candidate.get_hash()
- << " vs lower bound 0x" << lower_bound.get_hash() << dendl;
+ << " vs lower bound 0x" << lower_bound.get_hash()
+ << std::dec << dendl;
if (candidate >= next) {
break;
}
os << ctx.request.from << "~" << ctx.request.len << " "
- << ntohl(ctx.reply.error) << "]";
+ << std::dec << ntohl(ctx.reply.error) << "]";
return os;
}