Unify logging and parameters a bit