• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Logs of HTTP Post to HTTP JSON Receiver

    How-To
    2
    4
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ricardoR
      ricardo
      last edited by

      Hi all,

      Can we configure mango to log (in ma.log or other log files) of all the HTTP Post that goes to HTTP JSON Receiver (http://<mango-ip>:<mango-port>/httpds)?

      BR,
      Ricardo

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by phildunlap

        Hi ricardo,

        It does not appear there is any such logging available to enable. It could be useful to add, for sure!

        I have added this to 3.4.1 of the HTTP module, which should be released fairly soon.

        1 Reply Last reply Reply Quote 0
        • phildunlapP
          phildunlap
          last edited by

          It was released. If you have This <Logger/> entry by the similar entries near the bottom of your Mango/classes/log4j2.xml file you would see the messages received by the /httpds servlet logged at debug level in the ma.log file:

          <Logger name="com.serotonin.m2m2.http.common" level="debug"/>
          

          You would need to reload the Log4J settings using the Log4J Reset section of /system_settings.shtm or restart Mango for that modification to the log4j2.xml file to take effect.

          1 Reply Last reply Reply Quote 0
          • ricardoR
            ricardo
            last edited by

            Tested with HTTP 3.4.1 and updated the log4j2.xml per your instruction. It is all good. Thanks.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post