After deciding to always enable tracking log in early phase, there's no
need to keep "log_early" option here and remove it directly.
Suggested-by: Kefu Chai <kefu@redhat.com>
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
(cherry picked from commit
dbdcb2535d0d463d92d90169175e0776a0ee58e3)
Conflicts:
qa/tasks/ceph_manager.py [ already dropped in nautilus, commit
b8dd87424ecb ("qa/tasks/ceph_manager.py: don't use log-early
in raw_cluster_cmd") ]
else if (ceph_argparse_flag(args, i, "--no-mon-config", (char*)NULL)) {
values.no_mon_config = true;
}
- else if (ceph_argparse_flag(args, i, "--log-early", (char*)NULL)) {
- values.log_early = true;
- }
else if (ceph_argparse_flag(args, i, "--mon-config", (char*)NULL)) {
values.no_mon_config = false;
}
string cluster;
ceph::logging::SubsystemMap subsys;
bool no_mon_config = false;
- bool log_early = false;
// Set of configuration options that have changed since the last
// apply_changes
using changed_set_t = std::set<std::string>;
{
int ret;
- if (cct->_conf->log_early &&
- !cct->_log->is_started()) {
+ if (!cct->_log->is_started()) {
cct->_log->start();
}
return -EISCONN;
state = CONNECTING;
- if (cct->_conf->log_early &&
- !cct->_log->is_started()) {
+ if (!cct->_log->is_started()) {
cct->_log->start();
}