pub / goaccess_dashboard

Tiny tool for privacy-preserving web-analytics
git clone https://https://src.jayvii.de/pub/goaccess_dashboard.git
Home | Log | Files | Exports | Refs | Submodules | README | RSS

commit 623cf6bc64b49b11d06b10749101cfa93ecf5cd8
parent c2e332b08578cf3749bc05c84f83a9f8998e9e43
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sun, 28 Jul 2024 14:39:51 +0200

fix: remove unused daily log generation

Diffstat:
Mcreate_logs_report.sh | 10----------
1 file changed, 0 insertions(+), 10 deletions(-)

diff --git a/create_logs_report.sh b/create_logs_report.sh @@ -8,7 +8,6 @@ LOG_PATH="/var/log/apache2/${1}_access.log" # set dates TODAY=$(date +%Y-%m-%d) -THIS_DAY=$(date +%d --date "${TODAY}") THIS_WEEK=$(date +%V --date "${TODAY}") THIS_MONTH=$(date +%m --date "${TODAY}") THIS_YEAR=$(date +%Y --date "${TODAY}") @@ -18,23 +17,14 @@ TODAY=$(date +%d\\/%b\\/%Y --date "${TODAY}") mkdir -p "${DB_PATH}/all" mkdir -p "${DB_PATH}/${THIS_YEAR}" mkdir -p "${DB_PATH}/${THIS_YEAR}/${THIS_MONTH}" -# mkdir -p "${DB_PATH}/${THIS_YEAR}/${THIS_MONTH}/${THIS_DAY}" mkdir -p "${DB_PATH}/${THIS_YEAR}/week-${THIS_WEEK}" # create output paths mkdir -p "${HTML_PATH}/all" mkdir -p "${HTML_PATH}/${THIS_YEAR}" mkdir -p "${HTML_PATH}/${THIS_YEAR}/${THIS_MONTH}" -# mkir -p "${HTML_PATH}/${THIS_YEAR}/${THIS_MONTH}/${THIS_DAY}" mkdir -p "${HTML_PATH}/${THIS_YEAR}/week-${THIS_WEEK}" -# create daily log -# echo "Create this Day's log" -# sed -n '/'${TODAY}'/,$ p' ${LOG_PATH} | goaccess \ -# --db-path="${DB_PATH}/${THIS_YEAR}/${THIS_MONTH}/${THIS_DAY}" \ -# --output-format="${HTML_PATH}/${THIS_YEAR}/${THIS_MONTH}/${THIS_DAY}/index.html" \ -# --load-from-disk --keep-db-files \ -# - # create weekly log echo "Create this Week's log"