File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ services:
1212 SECRET : ${SECRET}
1313 PERIODICITY : ${PERIODICITY:-2}
1414 WINDOW : ${WINDOW:-1024}
15+ RUST_LOG : ${RUST_LOG:-INFO}
1516 volumes :
1617 - database:/srv/database
1718
Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ record=$( cat record.scm )
1313control=$( cat control.scm )
1414ledger=$( cat ledger.scm )
1515
16- RUST_LOG=INFO ./journal-sdk -b " ($record \" $SECRET \" $control ($ledger \" $SECRET \" #f $WINDOW ))" -s " (*step* \" $SECRET \" )" -p 80 -c $PERIODICITY -d database
16+ RUST_LOG=$RUST_LOG ./journal-sdk -b " ($record \" $SECRET \" $control ($ledger \" $SECRET \" #f $WINDOW ))" -s " (*step* \" $SECRET \" )" -p 80 -c $PERIODICITY -d database
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ services:
1212 SECRET : ${SECRET}
1313 PERIODICITY : ${PERIODICITY:-2}
1414 WINDOW : ${WINDOW:-1024}
15+ RUST_LOG : ${RUST_LOG:-info}
1516 volumes :
1617 - database:/srv/database
1718
Original file line number Diff line number Diff line change @@ -9,9 +9,13 @@ if [ -z "$WINDOW" ]; then
99 WINDOW=" #f"
1010fi
1111
12+ if [ -z " $RUST_LOG " ]; then
13+ RUST_LOG=" info"
14+ fi
15+
1216record=$( cat record.scm )
1317control=$( cat control.scm )
1418ledger=$( cat ledger.scm )
1519ontology=$( cat ontology.scm )
1620
17- RUST_LOG=info ./journal-sdk -b " ($record \" $SECRET \" $control ($ledger \" $SECRET \" #f $WINDOW ) $ontology )" -s " (*step* \" $SECRET \" )" -p 80 -c $PERIODICITY -d database
21+ RUST_LOG=$RUST_LOG ./journal-sdk -b " ($record \" $SECRET \" $control ($ledger \" $SECRET \" #f $WINDOW ) $ontology )" -s " (*step* \" $SECRET \" )" -p 80 -c $PERIODICITY -d database
You can’t perform that action at this time.
0 commit comments