Switch ceph logs to journal

This commit is contained in:
Rodrigo Arias 2023-08-28 17:58:08 +02:00
parent ac4fa9abd4
commit 599613d139

View File

@ -36,6 +36,14 @@
monInitialMembers = "bay"; monInitialMembers = "bay";
clusterNetwork = "10.0.40.40/24"; # Use Ethernet only clusterNetwork = "10.0.40.40/24"; # Use Ethernet only
}; };
extraConfig = {
# Only log to stderr so it appears in the journal
"log_file" = "/dev/null";
"mon_cluster_log_file" = "/dev/null";
"log_to_stderr" = "true";
"err_to_stderr" = "true";
"log_to_file" = "false";
};
mds = { mds = {
enable = true; enable = true;
daemons = [ "mds0" "mds1" ]; daemons = [ "mds0" "mds1" ];