Remove path from log.