Ignore warnings for file_put_contents in Log when logging to file.