Add ansi_up and use for logs