Project

General

Profile

Actions

Support #43253

closed

How to issue log messages in library code

Added by Min Shi over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

For example, using the commond "ceph -s" only output the final result.
But I want to get the detail log of RadosClient, how to set it.
I already try to modify src/ceph.in, try to change conf_defaults, but it cant't work.

Actions #1

Updated by Min Shi over 4 years ago

/etc/conf
[client]
log_file = /var/log/ceph/ceph-client.log
debug_rados = 20/20
debug_monc = 20/20

this solve my problem

Actions #2

Updated by Min Shi over 4 years ago

Min Shi wrote:

/etc/conf
[client]
log_file = /var/log/ceph/ceph-client.log
debug_rados = 20/20
debug_monc = 20/20

this solve my problem

/etc/ceph/ceph.conf Correct name

Actions #3

Updated by Greg Farnum over 4 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF