[BUG] LOG_FILE_PATH
env var doesn't work as expected
#2894
Labels
Bug
Something isn't working
iroha2-dev
The re-implementation of a BFT hyperledger in RUST
LTS
Pre-alpha defect
The defect was found at the operating of the pre-alpha. Had an impact on users.
QA-confirmed
This bug is reproduced and needs a fix
GIT commit hash
b783f10
Minimum working example
Build Iroha and run it in terminal:
Expected behaviour
Expected to see JSON logs in STDOUT.
Actual behaviour
I get an error:
Operating system
macOS 12.2.1
LibC type and version
Undefined
Current environment
Source code build
Who can help?
No response
Additional context
Known workaround is to escape the variable contents:
LOG_FILE_PATH="\"/dev/stderr\"" ./iroha
Also, it would nice if this variable is included into
docker-compose.yml
files located in the repo - thus it will be covered with tests, I guess.The text was updated successfully, but these errors were encountered: