logging:1.add InitLogFile() 2.add class LoggingLock for lock-file protect 3.change GetDefaultLogName to GetDefaultLogFile