Revert "logging to file"

This reverts commit 9c4d900a707202e6ac51dc3fef075efd0fa4c0d3.