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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to