skip ANSI_RESET correctly in log files.