Remove useless code + adapt details display of the log