Better `log` CLI command error handling. Warning when logging fails.