MDL-38019 added add_to_config_log() to lib/datalib.php