CDB-3094 no hardcoded coloring output by creating a new log_warning function