Fixed Logging in Bugs