Make log a dev-dependency

It's only used by tests