[Log] Provide a default log category

Set a default log category of debug if no category was specified, or the
category specified is not in the list of valid categories.