Skip to content

Commit 2c03fc6

Browse files
committed
mon: track 'mon_cluster_log_to_file'
'mon_cluster_log_to_file' changes were handled in LogMonitor::handle_conf_change(), but the LogMonitor was not registered to track it. This PR adds the registration. Signed-off-by: Ronen Friedman <[email protected]>
1 parent 1a06923 commit 2c03fc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mon/LogMonitor.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,8 @@ std::vector<std::string> LogMonitor::get_tracked_keys() const noexcept
12831283
"mon_cluster_log_to_graylog"s,
12841284
"mon_cluster_log_to_graylog_host"s,
12851285
"mon_cluster_log_to_graylog_port"s,
1286-
"mon_cluster_log_to_journald"s
1286+
"mon_cluster_log_to_journald"s,
1287+
"mon_cluster_log_to_file"s
12871288
};}
12881289

12891290
void LogMonitor::handle_conf_change(const ConfigProxy& conf,

0 commit comments

Comments
 (0)