let $key default to $name
log output on_error