Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Jan 3, 2024
1 parent 8353bb7 commit 7f22b2c
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -555,21 +555,13 @@ function print_service_logs() {
while ! supervisorctl pid > /dev/null ; do
sleep 1;
done
while true ; do
sleep 1;
echo "------------------"
echo "------------------"
cat "/var/log/supervisor/*"
echo "------------------"
echo "------------------"
done
# Start tailing logs from notable services.
# supervisorctl tail -f stellar-core stdout > >(sed "s/^/${purple}stellar-core | $clear/") &
# supervisorctl tail -f stellar-core stderr > >(sed "s/^/${purple}stellar-core | $clear/" >&2) &
# supervisorctl tail -f horizon stdout > >(sed "s/^/${green}horizon | $clear/") &
# if [ "$ENABLE_SOROBAN_RPC" = "true" ]; then
# supervisorctl tail -f soroban-rpc stdout > >(sed "s/^/${blue}soroban-rpc | $clear/") &
# fi
supervisorctl tail -f stellar-core stdout > >(sed "s/^/${purple}stellar-core | $clear/") &
supervisorctl tail -f stellar-core stderr > >(sed "s/^/${purple}stellar-core | $clear/" >&2) &
supervisorctl tail -f horizon stdout > >(sed "s/^/${green}horizon | $clear/") &
if [ "$ENABLE_SOROBAN_RPC" = "true" ]; then
supervisorctl tail -f soroban-rpc stdout > >(sed "s/^/${blue}soroban-rpc | $clear/") &
fi
}

# run_silent is a utility function that runs a command with an abbreviated
Expand Down

0 comments on commit 7f22b2c

Please sign in to comment.