instrument logs to file instead of the console
Revert "dump usages to files"

This reverts commit 58239712269dba0879b9749763902c14467f7750.