logs: show logs, not just the .out files abc #147
|
@ -34,7 +34,7 @@ export DOT_FORGEJO_CURL=$DIR/forgejo-curl
|
|||
export DOT=$DOT_FORGEJO_CURL # for backward compatibility with forgejo-curl.sh 1.0.0
|
||||
: ${FORGEJO_USER:=root}
|
||||
: ${FORGEJO_PASSWORD:=admin1234}
|
||||
RELEASE_NUMBERS_AND_DEV="$(for r in $RELEASE_NUMBERS ; do echo -n "$r $r-dev " ; done)"
|
||||
RELEASE_NUMBERS_AND_DEV="7.0 7.0-dev 8.0-dev"
|
||||
ORGANIZATIONS=$(cat $LIB_DIR/ORGANIZATIONS)
|
||||
|
||||
function log_info() {
|
||||
|
@ -296,7 +296,10 @@ function stop() {
|
|||
function show_logs() {
|
||||
(
|
||||
cd $DIR
|
||||
grep '' *.out
|
||||
set +e
|
||||
grep --with-filename --text '' *.log
|
||||
grep --with-filename --text '' forgejo-work-path/log/*.log
|
||||
grep --with-filename --text '' *.out
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue