Log
Get the last log lines of the Core application.
Last updated
Was this helpful?
Get the last log lines of the Core application.
Last updated
Was this helpful?
The last log events are kept in memory and are accessible via the /api/v3/log
endpoint. You can either retrieve the log lines in the format the Core is writing them to the console (?format=console
) or in raw format (?format=raw
). By default they are returned in "console" format.
You can define the number of last log lines kept in memory by either setting an appropriate value in the config (log.max_lines
) or via an enviroment variable (CORE_LOG_MAX_LINES
).
Example:
Description:
Get the last log lines of the Restreamer application
/api/v3/log
Format of the list of log events (*console, raw)