Using an absolute path with -b fails:
$ ./target/debug/minotari_node -b /home/user/Tari-2503-Tari-Diff/tari/_coin/nodes/tari_new_commit/ --network localnet
Initializing logging according to "/home/user/coinspect/concert/Tari-2503-Tari-Diff/tari/_coin/nodes/tari_new_commit/localnet/config/base_node/log4rs.yml"
Mar 12 10:34:43.000 [warn] Couldn't open file for 'Log err file /home/user/tari-2503-tari-diff/tari/_coin/nodes/tari_new_commit/localnet/libtor/base_node/tor.log': No such file or directory
Mar 12 10:34:43.000 [warn] Failed to parse/validate config: Failed to init Log options. See logs for details.
Mar 12 10:34:43.000 [err] Reading config failed--see warnings above.
Using a relative path with -b is OK:
$ tari (2d671fd9c) ✗ ./target/debug/minotari_node -b _coin/nodes/tari_new_commit/ --network localnet
Initializing logging according to "_coin/nodes/tari_new_commit/localnet/config/base_node/log4rs.yml"
Mar 12 10:36:30.850 [warn] Path for ControlPortWriteToFile (_coin/nodes/tari_new_commit/localnet/libtor/base_node/data/control_port) is relative and will resolve to /home/user/coinspect/concert/Tari-2503-Tari-Diff/tari/_coin/nodes/tari_new_commit/localnet/libtor/base_node/data/control_port. Is this what you wanted?
Mar 12 10:36:30.850 [warn] Path for DataDirectory (_coin/nodes/tari_new_commit/localnet/libtor/base_node/data) is relative and will resolve to /home/user/coinspect/concert/Tari-2503-Tari-Diff/tari/_coin/nodes/tari_new_commit/localnet/libtor/base_node/data. Is this what you wanted?
And here see:
Mar 12 10:34:43.000 [warn] Couldn't open file for 'Log err file /home/user/tari-2503-tari-diff/tari/_coin/nodes/tari_new_commit/localnet/libtor/base_node/tor.log': No such file or directory
The path is suddenly all-lower case.
Using an absolute path with -b fails:
Using a relative path with -b is OK:
And here see:
The path is suddenly all-lower case.