Changed logging mechanism to include voltage