Skip to main content

Log

Log

These responses provide access to the last 100 lines of MistServer's log. The only way to request these is to not set ""minimal":1", in which case it is always sent in the response.

The responses look as such:

{
"log": [
[
1398978357, //unix timestamp of this log message
"CONF", //shortcode indicating the type of log message
"Starting connector: {\"connector\":\"HTTP\"}", //string containing the log message itself
"" //Optional name of stream the message relates to. Empty if not applicable (i.e. global messages that are not related to a specific stream).
],
//the above structure repeated up to 99 more times
]
}