chore: forward runtime log-level during login/startup of the status-node

This commit is contained in:
Sean Hagstrom 2024-08-07 10:12:21 +01:00
parent 5d6b46a914
commit 1ea1c06d91
No known key found for this signature in database
GPG Key ID: 5257FEDF56307320
1 changed files with 24 additions and 22 deletions

View File

@ -8,28 +8,30 @@
(defn login (defn login
[] []
{;; Temporary fix until https://github.com/status-im/status-go/issues/3024 is resolved (let [log-enabled? (boolean (not-empty config/log-level))]
:wakuV2Nameserver "8.8.8.8" {;; Temporary fix until https://github.com/status-im/status-go/issues/3024 is resolved
:statusProxyEnabled config/status-proxy-enabled? :wakuV2Nameserver "8.8.8.8"
:statusProxyStageName config/status-proxy-stage-name :runtimeLogLevel (when log-enabled? config/log-level)
:statusProxyMarketUser config/STATUS_BUILD_PROXY_USER :statusProxyEnabled config/status-proxy-enabled?
:statusProxyMarketPassword config/STATUS_BUILD_PROXY_PASSWORD :statusProxyStageName config/status-proxy-stage-name
:statusProxyBlockchainUser config/STATUS_BUILD_PROXY_USER :statusProxyMarketUser config/STATUS_BUILD_PROXY_USER
:statusProxyBlockchainPassword config/STATUS_BUILD_PROXY_PASSWORD :statusProxyMarketPassword config/STATUS_BUILD_PROXY_PASSWORD
:openseaAPIKey config/opensea-api-key :statusProxyBlockchainUser config/STATUS_BUILD_PROXY_USER
:poktToken config/POKT_TOKEN :statusProxyBlockchainPassword config/STATUS_BUILD_PROXY_PASSWORD
:infuraToken config/INFURA_TOKEN :openseaAPIKey config/opensea-api-key
:raribleMainnetAPIKey config/RARIBLE_MAINNET_API_KEY :poktToken config/POKT_TOKEN
:raribleTestnetAPIKey config/RARIBLE_TESTNET_API_KEY :infuraToken config/INFURA_TOKEN
:alchemyEthereumMainnetToken config/ALCHEMY_ETHEREUM_MAINNET_TOKEN :raribleMainnetAPIKey config/RARIBLE_MAINNET_API_KEY
:alchemyEthereumGoerliToken config/ALCHEMY_ETHEREUM_GOERLI_TOKEN :raribleTestnetAPIKey config/RARIBLE_TESTNET_API_KEY
:alchemyEthereumSepoliaToken config/ALCHEMY_ETHEREUM_SEPOLIA_TOKEN :alchemyEthereumMainnetToken config/ALCHEMY_ETHEREUM_MAINNET_TOKEN
:alchemyOptimismMainnetToken config/ALCHEMY_OPTIMISM_MAINNET_TOKEN :alchemyEthereumGoerliToken config/ALCHEMY_ETHEREUM_GOERLI_TOKEN
:alchemyOptimismGoerliToken config/ALCHEMY_OPTIMISM_GOERLI_TOKEN :alchemyEthereumSepoliaToken config/ALCHEMY_ETHEREUM_SEPOLIA_TOKEN
:alchemyOptimismSepoliaToken config/ALCHEMY_OPTIMISM_SEPOLIA_TOKEN :alchemyOptimismMainnetToken config/ALCHEMY_OPTIMISM_MAINNET_TOKEN
:alchemyArbitrumMainnetToken config/ALCHEMY_ARBITRUM_MAINNET_TOKEN :alchemyOptimismGoerliToken config/ALCHEMY_OPTIMISM_GOERLI_TOKEN
:alchemyArbitrumGoerliToken config/ALCHEMY_ARBITRUM_GOERLI_TOKEN :alchemyOptimismSepoliaToken config/ALCHEMY_OPTIMISM_SEPOLIA_TOKEN
:alchemyArbitrumSepoliaToken config/ALCHEMY_ARBITRUM_SEPOLIA_TOKEN}) :alchemyArbitrumMainnetToken config/ALCHEMY_ARBITRUM_MAINNET_TOKEN
:alchemyArbitrumGoerliToken config/ALCHEMY_ARBITRUM_GOERLI_TOKEN
:alchemyArbitrumSepoliaToken config/ALCHEMY_ARBITRUM_SEPOLIA_TOKEN}))
(defn create (defn create
[] []