Re: Client debugging and rados_conf_set()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 24 Feb 2015, Pete Zaitcev wrote:
> Hello:
> 
> I noticed that RadosClient.cc is full of interesting printouts, like so:
> 
>   ldout(cct, 1) << "setting wanted keys" << dendl;
> 
> So, I tried to enable them by doing this:
> 
> 	rc = rados_conf_set(rados, "debug_rados", "20/20");
> 
> However, the above produces no output. What am I missing? How are these
> printouts made visible conventionally?

Ha!  I saw that on twitter but couldn't tell what you were trying to do.

 log_to_stderr = true

in ceph.conf or

  rados_conf_set(rados, "log_to_stderr", "true");

or

  --log-to-stderr

on the command line.  You may also be able to do

  CEPH_ARGS="--log-to-stderr"

(although it depends on whether the binary is calling env_to_args()).

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux