improve the display schema.

1. change display format
2. set display width of log level
3. add close log file
4. add sample of log to file