diff --git a/lib/tests.sh b/lib/tests.sh index 3bf32a8..651060b 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -261,11 +261,7 @@ Page extract:\n$page_extract" > $TEST_CONTEXT/curl_result do LXC_EXEC "journalctl --no-pager --no-hostname -n 30 -u $SERVICE"; done - for PHP_VERSION in $(LXC_EXEC "ls /etc/php/*/fpm/pool.d/$app_id_to_check.conf 2>/dev/null" | awk -F/ '{print $4}') - do - LXC_EXEC "journalctl --no-pager --no-hostname -n 30 -u php$PHP_VERSION-fpm"; - LXC_EXEC "tail -n 30 /var/log/php$PHP_VERSION-fpm.log" - done + LXC_EXEC "tail -v -n 15 \$(find /var/log/{nginx/,php*,$app_id_to_check} -mmin -3)" fi done