Browse Source

change filename to access.log

master
James McDermott 2 years ago
parent
commit
48e6587300
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      admin-scripts/logcheck

+ 1
- 1
admin-scripts/logcheck View File

@@ -7,7 +7,7 @@ countUnique=""


logcheck() {
if [ ! -f /var/log/apache2/$logs/acces.log ]; then
if [ ! -f /var/log/apache2/$logs/access.log ]; then
usage
elif [ "$countUnique" != "" ] && [ "$ignore" != "" ]; then
cat /var/log/apache2/$logs/access.log | grep -w "$page" | cut -d- -f1 | grep -v "$ignore" | sort -u | wc -l


Loading…
Cancel
Save