Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add startup logging into start scripts
  • Loading branch information
rozhkovdmitrii committed Feb 10, 2022
commit a63bd6a7eb14cbe36860255cf9ee84d1bb3a1dd1
1 change: 1 addition & 0 deletions proxy/run-indexer.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
echo $(date "+%F %X.%3N") I $(basename "$0"):${LINENO} $$ Indexer:Undefined {}

if [ -z "$EVM_LOADER" ]; then
echo "Extracting EVM_LOADER address from keypair file..."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need to change logging format here too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, I looked at this line, Ivan
It doesn't have any heavy operation after previous logging note. That's why I left it as it is

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Expand Down
1 change: 1 addition & 0 deletions proxy/run-test-proxy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
echo $(date "+%F %X.%3N") I $(basename "$0"):${LINENO} $$ Proxy:Undefined {}

if [ -z "$SOLANA_URL" ]; then
echo "SOLANA_URL is not set"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Expand Down
1 change: 1 addition & 0 deletions run-airdropper.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
echo $(date "+%F %X.%3N") I $(basename "$0"):${LINENO} $$ Airdropper:Undefined {}

if [ -z "$EVM_LOADER" ]; then
echo "Extracting EVM_LOADER address from keypair file..."
Expand Down
3 changes: 2 additions & 1 deletion run-faucet.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
echo $(date "+%F %X.%3N") I $(basename "$0"):${LINENO} $$ Faucet:Undefined {}

if [ -z "$SOLANA_URL" ]; then
echo "SOLANA_URL is not set"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change format too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Expand All @@ -20,4 +21,4 @@ if [ "$(spl-token balance "$NEON_TOKEN_MINT" || echo 0)" -eq 0 ]; then
exit 1
fi

faucet run
faucet run
1 change: 1 addition & 0 deletions run-test-airdropper.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
echo $(date "+%F %X.%3N") I $(basename "$0"):${LINENO} $$ Airdropper:Undefined {}

[[ -z "$FINALIZED" ]] && export FINALIZED="confirmed"
export EVM_LOADER=$(solana address -k /spl/bin/evm_loader-keypair.json)
Expand Down
1 change: 1 addition & 0 deletions run-test-faucet.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
echo $(date "+%F %X.%3N") I $(basename "$0"):${LINENO} $$ Faucet:Undefined {}

if [ -z "$SOLANA_URL" ]; then
echo "SOLANA_URL is not set"
Expand Down