Removed some minor log bugs