Implemented log for CGI applications.