Send logs in case of failure with HTTP request

Comments

1 comment

  • Avatar
    michiel

    Hi,

    Please accept my apologies for the delay in my reply. The `installation_aborted_by_user` variable will be set to one if the user clicks cancel during the installation. 

    You can send the log file by reading the text of the log and storing it in a variable:

            <readFile>
              <name>installLog</name>
              <path>${installer_installation_log}</path>
            </readFile>
        <httpPost>
            <filename>${system_temp_directory}/post_result</filename>
            <url>http://www.example.com/post.php</url>
            <queryParameterList>
                <queryParameter name="log" value="${installLog}"/>
            </queryParameterList>
        </httpPost>

    Do the HttpPost tag work properly on each OS?

    Yes, it works on all platforms.

    Regards,

    Michiel

    0
    Comment actions Permalink

Please sign in to leave a comment.