refactor src/webserver dir about log print out