Actions
Support #23456
closedwhere is the log of src\journal\JournalPlayer.cc
% Done:
0%
Tags:
Reviewed:
Affected Versions:
Pull request ID:
Description
when I add "debug_journal = 20/20 debug_journaler = 20/20" in ceph.conf.And I restart ceph-mon deamon ceph-mgr deamon.Then I write rbd by fio.
But I can not find log of src\journal\JournalPlayer.cc in /var/log/ceph/ directory.Just like "ldout(m_cct, 20) << func << dendl;" below.
bool JournalPlayer::try_pop_front(Entry *entry, uint64_t *commit_tid) {
ldout(m_cct, 20) << __func__ << dendl;
Mutex::Locker locker(m_lock);
I want to ask whick log file the log of src\journal\JournalPlayer.cc will be print?
my ceph version ceph-12.2.2
Thank you!
Updated by liuzhong chen about 6 years ago
sorry,this is not a bug but a support. I can't change the label now.
Updated by Mykola Golub about 6 years ago
- Tracker changed from Bug to Support
The currently configured log location can be found running:
ceph-conf log_file
or
ceph --show-config | grep '^log_file'
If it is empty or not what you want, you can change this in ceph.conf, client section. No need to set debug_journal. debug_journaler is a correct param. It needs to be set in global or client section. No need to restart daemons when you change log_file or debug_journaler, because it affects only the client (librbd).
Actions