[logfile] try to reduce memory usage a bit

  Defect Number:
    Reviewed By:
   Testing Done: