Skip to content

Commit 445e056

Browse files
authored
built: generate a log without timestamps (#241)
so that it will be easier to see using (git) diff if the process produced different logs than before
1 parent 5263711 commit 445e056

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

clean_and_preload_parity_images.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ echo "waiting 5s for chains to start up"
2727
sleep 5
2828
docker-compose up -d smart-contracts-init
2929
INITSTATUS=`docker wait streamr-dev-smart-contracts-init`
30+
3031
docker logs streamr-dev-smart-contracts-init &> $LOG
32+
33+
# remove timestamps in order to see in diffs if logs have changed
34+
sed "s/^2022-[^ ]* //g" $LOG > tmp.log
35+
cp tmp.log $LOG
36+
3137
echo "streamr-dev-smart-contracts-init finished with status $INITSTATUS. Logs in $LOG"
3238
test $INITSTATUS -ne 0 && echo "streamr-dev-smart-contracts-init failed" && exit 1
3339
docker exec streamr-dev-parity-sidechain-node0 /bin/bash -c 'mv /home/parity/parity_data /home/parity/parity_data.default'

0 commit comments

Comments
 (0)