mirror of
https://github.com/ceph/ceph
synced 2025-02-20 09:27:35 +00:00
common: disable log_per_instance for non-daemons
Turn off the logging and symlink rotation, not just symlink rotation. This is a somewhat arbitrary distinction (log per instance only for daemons), but its only used by vstart and only really useful for development/debugging, so who cares. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
parent
cae43fc7d0
commit
6fa470ba51
@ -138,8 +138,8 @@ void common_init(std::vector < const char* >& args,
|
||||
conf->parse_argv(args); // argv override
|
||||
|
||||
if (code_env != CODE_ENVIRONMENT_DAEMON) {
|
||||
// The symlink stuff only really makes sense for daemons
|
||||
conf->log_sym_history = false;
|
||||
// The symlink stuff only really makes sense for daemons
|
||||
conf->log_per_instance = false;
|
||||
}
|
||||
|
||||
if (conf->log_to_syslog || conf->clog_to_syslog) {
|
||||
|
Loading…
Reference in New Issue
Block a user