From 5640058c216750c03890bcd1044696be3d7b666e Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sat, 6 Apr 2024 15:38:23 +0200 Subject: [PATCH] logs: always prefix with the file name otherwise it is difficult to figure out where the runner logs end and where the forgejo logs start. --- lib/lib.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/lib.sh b/lib/lib.sh index 0eaf5ed..12a5d90 100644 --- a/lib/lib.sh +++ b/lib/lib.sh @@ -297,9 +297,9 @@ function show_logs() { ( cd $DIR set +e - grep --text '' *.log - grep --text '' forgejo-work-path/log/*.log - grep --text '' *.out + grep --with-filename --text '' *.log + grep --with-filename --text '' forgejo-work-path/log/*.log + grep --with-filename --text '' *.out ) }