Reajust log to be printed properly