Updating to use the newest version of flog.
Fixing tests and removing debugger