Skip to content

Commit b74fbfe

Browse files
committed
logging
1 parent 95dd645 commit b74fbfe

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

scripts/90-cleanup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ service sysstat stop
6262
rmdir /var/log/sysstat
6363
mkdir /var/log/sysstat
6464
service sysstat start
65+
ls -alh /var/log/ >> ~/varlog3.log
6566
# Securely erase the unused portion of the filesystem
6667
GREEN='\033[0;32m'
6768
NC='\033[0m'

scripts/91-log_cleanup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ rm -rf /var/log/*
88
service sysstat stop
99
rm -rf /var/log/sysstat
1010
mkdir /var/log/sysstat
11+
ls -alh /var/log/ >> ~/varlog1.log
1112
service sysstat start
1213

1314
# https://github.com/fail2ban/fail2ban/issues/1593

scripts/99-img_check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ checkRoot
652652
checkAgent
653653

654654
checkMongoDB
655-
655+
ls -alh /var/log/ >> ~/varlog2.log
656656

657657
# Summary
658658
echo -en "\n\n---------------------------------------------------------------------------------------------------\n"

0 commit comments

Comments
 (0)