some edit for log file