new log file management, now 3 logs are supported: access, error, debug
minor fix