URL request to send bug reports:
http://<node-addr>/bugreport
For example:
http://cdb.klvn.io/bugreport
To send a bug report, you need to send a POST request to the specified URL, the content can be anything, including in binary form.
If the server successfully receives a bug report, the following message will be sent in response:
Bug Report #<number> saved successfully)
– where <number> is a unique 20-digit bug report number, for example:
Bug Report #07004131200515192136 saved successfully)
Message in case of error:
Bug Report not saved( code=<err code>
– where <err code> is digital error code, negative number from -1 to -9. If the server does not return anything, then it is not configured to receive bug reports.
To enable receiving bug reports in the <appname>-node.cfg file, you need to write the following line:
[server]
bugreport_url_enabled=true
Bug reports are stored in files in the same form in which they were received.
Each bug report is saved to a separate file in the node directory, in the subdirectory var/bugreport
. File name format: yy-mm-dd_hh:mm:ss.brt
, for example: 20-05-01_09:21:02.brt