add a parameter to allow not logging assets errors and to configure more assets prefixes