FactomProject / factomd

Factom Daemon
https://www.factomprotocol.org/
Other
201 stars 92 forks source link

Fix TestDebugLocation unit test / debuglog parameter #1072

Closed WhoSoup closed 3 years ago

WhoSoup commented 3 years ago

This test wasn't working because the functionality it was supposed to test just wasn't implemented. Not sure if this code got lost somewhere in rollup or went wrong somewhere else.

Wax rewrote the --debuglog parameter to include both a path and a regular expression, but the parameter was ignored and the function call hardcoded to "./." (aka log every file in the CWD). Logging was enabled if --debuglog was set but otherwise it had no effect.

Changes: