forked from rook/rook
We don't need to set log_file to empty string since "log_to_file" is set to False. This is probably an old leftover/hack we were doing in the past when "log_to_file" and other related options were not there. Because of this line https://github.com/ceph/ceph/blob/master/src/perfglue/heap_profiler.cc#L99, Ceph looks for the log_file conf option. In our case it was empty, so the logging would default to the current directory which points to the container runtime root when not set and we don't have permission to write there. We now force it to Ceph's default so that existing cluster will get the fix after upgrading. Just removing the option allows us to get dump in /var/log/ceph. Phew, what a bug! Signed-off-by: Sébastien Han <seb@redhat.com>