Skip to content
EN | DE

Logs

GET
/system/log
curl --request GET \
--url 'https://demo.evcc.io/api/system/log?areas=lp-1&areas=site&areas=db&level=FATAL&count=100&format=txt' \
--cookie auth=<auth>

Returns the latest log lines.

More information

areas

More information

Array<string>
Example
[
"lp-1",
"site",
"db"
]

Comma-separated list of log areas

level
required

More information

string
Allowed values: FATAL ERROR WARN INFO DEBUG TRACE
Example
DEBUG

Log level

count
integer

Number of log lines to return

Example
100
format
string
Allowed values: txt

File type

Success

object
result
Array<string>
Example generated
{
"result": [
"example"
]
}

Unauthorized - Login and try again

Media type text/plain
string
Allowed values: Unauthorized