From c4f88bdce75ff8d836c4fe726cdb4ae72bf8f21e Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Mon, 30 Aug 2021 03:45:35 +0000 Subject: [PATCH] update for new debug log --- backup.sh | 4 ++-- docs/docs/howitallworks.md | 2 +- restore.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backup.sh b/backup.sh index c8d47c55..1335a8c7 100755 --- a/backup.sh +++ b/backup.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT_VERSION="14" +SCRIPT_VERSION="15" SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/backup.sh' GREEN='\033[0;32m' @@ -80,7 +80,7 @@ if [ -f "${sysd}/daphne.service" ]; then sudo cp ${sysd}/daphne.service ${tmp_dir}/systemd/ fi -cat /rmm/api/tacticalrmm/tacticalrmm/private/log/debug.log | gzip -9 > ${tmp_dir}/rmm/debug.log.gz +cat /rmm/api/tacticalrmm/tacticalrmm/private/log/django_debug.log | gzip -9 > ${tmp_dir}/rmm/debug.log.gz cp /rmm/api/tacticalrmm/tacticalrmm/local_settings.py /rmm/api/tacticalrmm/app.ini ${tmp_dir}/rmm/ cp /rmm/web/.env ${tmp_dir}/rmm/env cp /rmm/api/tacticalrmm/tacticalrmm/private/exe/mesh*.exe ${tmp_dir}/rmm/ diff --git a/docs/docs/howitallworks.md b/docs/docs/howitallworks.md index 1bd68314..10acf0a0 100644 --- a/docs/docs/howitallworks.md +++ b/docs/docs/howitallworks.md @@ -160,4 +160,4 @@ You can find 3 sets of detailed logs at `/rmm/api/tacticalrmm/tacticalrmm/privat * `access.log` nginx log for access auditing on all URL's: rmm, api and mesh (_this is a large file, and should be cleaned periodically_) -* `debug.log` created by django webapp +* `django_debug.log` created by django webapp diff --git a/restore.sh b/restore.sh index e6ec524a..97aebf45 100755 --- a/restore.sh +++ b/restore.sh @@ -269,7 +269,7 @@ echo "${uwsgini}" > /rmm/api/tacticalrmm/app.ini cp $tmp_dir/rmm/local_settings.py /rmm/api/tacticalrmm/tacticalrmm/ cp $tmp_dir/rmm/env /rmm/web/.env gzip -d $tmp_dir/rmm/debug.log.gz -cp $tmp_dir/rmm/debug.log /rmm/api/tacticalrmm/tacticalrmm/private/log/ +cp $tmp_dir/rmm/django_debug.log /rmm/api/tacticalrmm/tacticalrmm/private/log/ cp $tmp_dir/rmm/mesh*.exe /rmm/api/tacticalrmm/tacticalrmm/private/exe/ sudo cp /rmm/natsapi/bin/nats-api /usr/local/bin