commit 87f197803d75245967027c1f243b37add3d3a0b5
parent a2b7b912f59d8d7b4c0f3970dde6c2f29d5fbb4e
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sun, 1 Dec 2024 14:02:09 +0100
fix: update script arguments for newest goaccess version
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/create_logs_report.sh b/create_logs_report.sh
@@ -2,7 +2,6 @@
# configuration ----------------------------------------------------------------
-export LC_TIME=en
DB_PATH="$HOME/goaccess/${1}"
HTML_PATH="/var/www/traffic.${1}"
LOG_PATH="/var/log/apache2/${1}_access.log"
@@ -57,7 +56,6 @@ sed -n '/'${TODAY}'/,$ p' ${LOG_PATH} | \
goaccess \
--db-path="${DB_PATH}/${THIS_YEAR}/week-${THIS_WEEK}" \
--output-format="${HTML_PATH}/${THIS_YEAR}/week-${THIS_WEEK}/index.html" \
- --load-from-disk --keep-db-files \
-
# auto automatic theme to weekly log
@@ -70,7 +68,6 @@ sed -n '/'${TODAY}'/,$ p' ${LOG_PATH} | \
goaccess \
--db-path="${DB_PATH}/${THIS_YEAR}/${THIS_MONTH}" \
--output-format="${HTML_PATH}/${THIS_YEAR}/${THIS_MONTH}/index.html" \
- --load-from-disk --keep-db-files \
-
# auto automatic theme to monthly log
@@ -83,7 +80,6 @@ sed -n '/'${TODAY}'/,$ p' ${LOG_PATH} | \
goaccess \
--db-path="${DB_PATH}/${THIS_YEAR}" \
--output-format="${HTML_PATH}/${THIS_YEAR}/index.html" \
- --load-from-disk --keep-db-files \
-
# auto automatic theme to yearly log
@@ -96,7 +92,6 @@ sed -n '/'${TODAY}'/,$ p' ${LOG_PATH} | \
goaccess \
--db-path="${DB_PATH}/all" \
--output-format="${HTML_PATH}/all/index.html" \
- --load-from-disk --keep-db-files \
-
# auto automatic theme to global log