diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore old mode 100755 new mode 100644 diff --git a/log.sh b/log.sh new file mode 100755 index 000000000..03bd7ad31 --- /dev/null +++ b/log.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +LOG_DIR="/var/www/paymenter/storage/logs" + +# Find newest file and show last 200 lines +latest_log=$(ls -t "$LOG_DIR" | head -n 1) +clear +if [ -n "$latest_log" ]; then + echo "Showing last 200 lines of: $latest_log" + echo "----------------------------------------" + tail -n 200 "$LOG_DIR/$latest_log" +else + echo "No log files found in $LOG_DIR" +fi diff --git a/storage/app/.gitignore b/storage/app/.gitignore old mode 100755 new mode 100644 diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore old mode 100755 new mode 100644 diff --git a/storage/debugbar/.gitignore b/storage/debugbar/.gitignore old mode 100755 new mode 100644 diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore old mode 100755 new mode 100644 diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore old mode 100755 new mode 100644 diff --git a/storage/framework/cache/data/.gitignore b/storage/framework/cache/data/.gitignore old mode 100755 new mode 100644 diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore old mode 100755 new mode 100644 diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore old mode 100755 new mode 100644 diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore old mode 100755 new mode 100644 diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore old mode 100755 new mode 100644