Merge pull request #3545 from pi-hole/tweak/debugoutput

Add additional information about local debug log location
This commit is contained in:
Adam Warner 2020-07-15 21:25:59 +01:00 committed by GitHub
commit ae0d1de188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1257,9 +1257,9 @@ upload_to_tricorder() {
# If they say yes, run our function for uploading the log
[yY][eE][sS]|[yY]) tricorder_use_nc_or_curl;;
# If they choose no, just exit out of the script
*) log_write " * Log will ${COL_GREEN}NOT${COL_NC} be uploaded to tricorder.";exit;
*) log_write " * Log will ${COL_GREEN}NOT${COL_NC} be uploaded to tricorder.\\n * A local copy of the debug log can be found at: ${COL_CYAN}${PIHOLE_DEBUG_LOG}${COL_NC}\\n";exit;
esac
fi
fi232623
# Check if tricorder.pi-hole.net is reachable and provide token
# along with some additional useful information
if [[ -n "${tricorder_token}" ]]; then