Change the creation of secured api key
Change the prototype of get_logs to add only_errors