Added default key to use for logs if one was not given, instead of
returning an error