Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'logfile' parameter in config file is ignored. #1246

Closed
winder opened this issue Sep 27, 2022 · 0 comments · Fixed by #1269
Closed

'logfile' parameter in config file is ignored. #1246

winder opened this issue Sep 27, 2022 · 0 comments · Fixed by #1269
Assignees
Labels
bug Something isn't working Team Lamprey

Comments

@winder
Copy link
Contributor

winder commented Sep 27, 2022

Problem

When the indexer configuration is in a log file, some parameters are not being used.

Steps to reproduce

Using Indexer 2.14.0

/mnt/indexer_data/indexer.yml:

postgres-connection-string: "host=127.0.0.1 user=ubuntu dbname=test_database"
algod-data-dir: "/data/algorand/testnet/archival_node/data/"
server-address: ":8986"
pidfile: "/mnt/indexer_data/algorand-indexer.pid"
logfile: "/mnt/indexer_data/log.txt"
metrics-mode: "ON"

launch command:

./algorand-indexer daemon -i /mnt/indexer_data

Actual behavior

Log output is written to stdout

Expected behavior

Log output is written to /mnt/indexer_data/log.txt

@winder winder added bug Something isn't working Team Lamprey labels Sep 27, 2022
AlgoStephenAkiki added a commit that referenced this issue Oct 5, 2022
Resolves #1246

Fixes order of configuration so that logger can be set properly
AlgoStephenAkiki added a commit that referenced this issue Oct 7, 2022
Resolves #1246

Fixes order of configuration so that logger can be set properly
AlgoStephenAkiki added a commit that referenced this issue Oct 7, 2022
Resolves #1246

Fixes order of configuration so that logger can be set properly
AlgoStephenAkiki added a commit that referenced this issue Oct 8, 2022
Resolves #1246

Fixes order of configuration so that logger can be set properly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Team Lamprey
Projects
None yet
2 participants