Adjusted parameter limit; added logging.