From 65f89b22b2088b0c98549e8079063fcad5d31e0e Mon Sep 17 00:00:00 2001 From: weslambert Date: Wed, 20 Dec 2023 17:28:55 -0500 Subject: [PATCH 1/2] Ignore Curator logs --- salt/common/tools/sbin/so-log-check | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/salt/common/tools/sbin/so-log-check b/salt/common/tools/sbin/so-log-check index dadb6dfcf..740a6f315 100755 --- a/salt/common/tools/sbin/so-log-check +++ b/salt/common/tools/sbin/so-log-check @@ -227,6 +227,12 @@ exclude_log "spool" # disregard zeek analyze logs as this is data specifi exclude_log "import" # disregard imported test data the contains error strings exclude_log "update.log" # ignore playbook updates due to several known issues exclude_log "playbook.log" # ignore due to several playbook known issues +exclude_log "cron-cluster-delete.log" # ignore since Curator has been removed +exclude_log "cron-close.log" # ignore since Curator has been removed +exclude_log "curator.log" # ignore since Curator has been removed + + + for log_file in $(cat /tmp/log_check_files); do status "Checking log file $log_file" From 244968ce238b86ea740454f58bbc62812d3e75bb Mon Sep 17 00:00:00 2001 From: weslambert Date: Wed, 20 Dec 2023 17:30:15 -0500 Subject: [PATCH 2/2] Remove unnecessary blank lines --- salt/common/tools/sbin/so-log-check | 3 --- 1 file changed, 3 deletions(-) diff --git a/salt/common/tools/sbin/so-log-check b/salt/common/tools/sbin/so-log-check index 740a6f315..e88a41589 100755 --- a/salt/common/tools/sbin/so-log-check +++ b/salt/common/tools/sbin/so-log-check @@ -231,9 +231,6 @@ exclude_log "cron-cluster-delete.log" # ignore since Curator has been removed exclude_log "cron-close.log" # ignore since Curator has been removed exclude_log "curator.log" # ignore since Curator has been removed - - - for log_file in $(cat /tmp/log_check_files); do status "Checking log file $log_file" tail -n $RECENT_LOG_LINES $log_file > /tmp/log_check