Pin on log_switch 0.4.

log_switch 1.0 has been released, and includes breaking changes.