Revert "Force logging to always be enabled"

This reverts commit d4c68c7156d1d3cc34f4a803de1cf732647d4f40.