Merge pull request #655 from WordOps/updating-configuration
Update issue script to remove domain in logs
This commit is contained in:
@@ -4,17 +4,18 @@
|
|||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Website: https://wordops.net
|
# Website: https://wordops.net
|
||||||
# GitHub: https://github.com/WordOps/WordOps
|
# GitHub: https://github.com/WordOps/WordOps
|
||||||
# Copyright (c) 2019 - WordOps
|
# Copyright (c) 2024 - WordOps
|
||||||
# This script is licensed under M.I.T
|
# This script is licensed under M.I.T
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# curl -sL git.io/fjAp3 | sudo -E bash -
|
# curl -sL git.io/fjAp3 | sudo -E bash -
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Version 3.9.8.4 - 2019-08-28
|
# Version 3.21.0 - 2024-05-29
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
if [ -f /var/log/wo/wordops.log ]; then
|
if [ -f /var/log/wo/wordops.log ]; then
|
||||||
cd /var/log/wo/ || exit 1
|
cd /var/log/wo/ || exit 1
|
||||||
wo_link=$(curl -sL --upload-file wordops.log https://transfer.vtbox.net/wordops.txt)
|
sed -E 's/([a-zA-Z0-9.-]+\.)?[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/domain.anonymized/g' /var/log/wo/wordops.log >/var/log/wo/wordops-issue.log
|
||||||
|
wo_link=$(curl -sL --upload-file wordops-issue.log https://transfer.vtbox.net/wordops.txt)
|
||||||
echo
|
echo
|
||||||
echo "Here the link to provide in your github issue : $wo_link"
|
echo "Here the link to provide in your github issue : $wo_link"
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user