Skip to content

Commit

Permalink
Enable debug logging by default
Browse files Browse the repository at this point in the history
  • Loading branch information
colinodell authored Dec 11, 2024
1 parent 6673f3a commit fef0ae3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildkit-prestop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ WAIT_UNTIL_NO_BUILDS_SEEN_FOR_X_SECONDS=10 # If no build processes are seen for
BUILDKITD_PORT=1234 # Port on which buildkitd is listening for buildx clients
LOG_FORMAT="json" # Log format to use (either "json" or "text")
LOG_PREFIX="[PreStop Hook]" # Optional prefix to add to log messages
DEBUG=1 # Enables debug logging

# Calculate the number of checks required based on the wait time and sleep period
REQUIRED_CHECK_COUNT=$((WAIT_UNTIL_NO_BUILDS_SEEN_FOR_X_SECONDS * 1000 / CHECK_FREQUENCY_MS))
Expand Down

0 comments on commit fef0ae3

Please sign in to comment.