Skip to content

Commit

Permalink
Added capture of masterfiles-stage log dc-scripts.log to cf-support
Browse files Browse the repository at this point in the history
If something goes wrong with masterfiles-stage then /var/cfengine/outputs/dc-scripts.log will contain additional details about what happened.

This is a cumulative log so compress it.

Ticket: none
Changelog: none
  • Loading branch information
craigcomstock authored Jun 27, 2024
1 parent 003f410 commit b2ab70d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc/cf-support
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ fi
echo "Captured output of $syslog_cmd filtered for cf-|CFEngine"

gzip_add $WORKDIR/outputs/previous
gzip_add $WORKDIR/outputs/dc-scripts.log # masterfiles-stage log
file_add $WORKDIR/policy_server.dat

if [ -f $WORKDIR/share/cf-support-nova-hub.sh ]; then
Expand Down

0 comments on commit b2ab70d

Please sign in to comment.