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.
This commit is contained in:
Earl Warren 2024-04-06 15:38:23 +02:00
parent 56110cffcc
commit 5640058c21
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -297,9 +297,9 @@ function show_logs() {
( (
cd $DIR cd $DIR
set +e set +e
grep --text '' *.log grep --with-filename --text '' *.log
grep --text '' forgejo-work-path/log/*.log grep --with-filename --text '' forgejo-work-path/log/*.log
grep --text '' *.out grep --with-filename --text '' *.out
) )
} }