Revert "-fixed some issues with log file"

This reverts commit 1baa7ad5ab1bb39dba1e0f72a0de3ffd21cf4f70.
Revert "new apriori logging system"

This reverts commit 7819e7bb57ce032253a89bb8ac8891aee72d9f92.