Changing the logger level for ApiMethod rescue block