set max logs length in log display