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

Logs of HTTP Post to HTTP JSON Receiver


  • 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


  • 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.


  • 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.


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