Added logs to fastcgi handler.