Commit 02249de4 authored by Shyam Jeedigunta's avatar Shyam Jeedigunta

Allow disabling log dump for nodes (in preparation for using logexporter)

parent 08c5e289
......@@ -248,6 +248,11 @@ function dump_nodes() {
}
setup
echo "Dumping master and node logs to ${report_dir}"
echo "Dumping master logs to ${report_dir}"
dump_masters
dump_nodes
if [[ "${DUMP_ONLY_MASTER_LOGS:-}" != "true" ]]; then
echo "Dumping node logs to ${report_dir}"
dump_nodes
else
echo "Skipping dumping of node logs"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment