Privacy settings in config.ini.php or in web interface

There are different settings in the web interface and in config.ini.php. Which setting will be used? For example for the parameter “delete_logs_older_than” during scheduled tasks.

web interface