Switched asserts for logging to remove build warnings for release.