Serial logging now works as expected.