sa me donne sa :
Code : Tout sélectionner
Error: EventSystem: in error log: [string "..."]:25: invalid capture index %2 Code : Tout sélectionner
Error: EventSystem: in error log: [string "..."]:25: invalid capture index %2 LOGLEVEL 1 = normalRetrieve Domoticz logfile information
You can get the last couple (fixed at max. 100) of logmessages with:
/json.htm?type=command¶m=getlog&lastlogtime=LASTLOGTIME&loglevel=LOGLEVEL
LOGLEVEL 1 = normal
2 = status
4 = error
268435455 = all
LASTLOGTIME starting with logmessages in LASTLOGTIME seconds since last epoch ( 0 = all available)
(In older versions &loglevel is ignored and the system will return all types) Somewhere around V3.9580 this changed and without the loglevel set, the system will only return type 1 messages