Revert "Port and host fixes"

This reverts commit 24fa49b47b5f0018a6172a2c1471c659a149f822.
Disabled logging