write web_content to log file