This is not test message. Its a button with not existing URL on action - thats what i want to monitor, if i turn on heating and device (esp8266) is not respondig, revert status of my switch back by call url directly to device in domoticz.. Maybe this is not the correct way, because now is searching for all erros in log.
Code: Select all
2021-04-20 13:31:01.259 Status: User: Admin initiated a switch command (2/test_switch/On)
2021-04-20 13:31:01.286 Status: dzVents: Info: Handling events for: "test_switch", value: "On"
2021-04-20 13:31:01.286 Status: dzVents: Info: getDomoticzErrorLog: ------ Start internal script: Script #5: Device: "test_switch (Virtual devices)", Index: 2
2021-04-20 13:31:01.286 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: url = http://127.0.0.1:8080/json.htm?type=command¶m=getlog&lastlogtime=1618918167&loglevel=4
2021-04-20 13:31:01.286 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: method = GET
2021-04-20 13:31:01.286 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: post data = nil
2021-04-20 13:31:01.286 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: headers = nil
2021-04-20 13:31:01.286 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: callback = getDomoticzErrorLog
2021-04-20 13:31:01.287 Status: dzVents: Info: getDomoticzErrorLog: ------ Finished Script #5
2021-04-20 13:31:01.287 Status: EventSystem: Script event triggered: /root/dev-domoticz/dzVents/runtime/dzVents.lua
2021-04-20 13:31:01.346 Status: dzVents: Info: Handling httpResponse-events for: "getDomoticzErrorLog"
2021-04-20 13:31:01.346 Status: dzVents: Info: getDomoticzErrorLog: ------ Start internal script: Script #5: HTTPResponse: "getDomoticzErrorLog"
2021-04-20 13:31:01.347 Status: dzVents: Debug: getDomoticzErrorLog: No resulting loglines found for the set logLevel / searchstrings in the last 94 seconds.
2021-04-20 13:31:01.347 Status: dzVents: Debug: getDomoticzErrorLog: No (new) occurrences of string Error opening url in the domoticz log
2021-04-20 13:31:01.347 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: url = http://www.TESTERROR
2021-04-20 13:31:01.347 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: method = GET
2021-04-20 13:31:01.347 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: post data = nil
2021-04-20 13:31:01.347 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: headers = nil
2021-04-20 13:31:01.347 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: callback = nil
2021-04-20 13:31:01.347 Status: dzVents: Info: getDomoticzErrorLog: ------ Finished Script #5
2021-04-20 13:31:01.347 Status: EventSystem: Script event triggered: /root/dev-domoticz/dzVents/runtime/dzVents.lua
2021-04-20 13:31:01.347 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL:
2021-04-20 13:31:01.347 {
2021-04-20 13:31:01.347 "LastLogTime" : "1618918168",
2021-04-20 13:31:01.347 "result" :
2021-04-20 13:31:01.347 [
2021-04-20 13:31:01.347 {
2021-04-20 13:31:01.347 "level" : 4,
2021-04-20 13:31:01.347 "message" : "2021-04-20 13:29:28.565 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL: \n{\n\t\"LastLogTime\" : \"1618918157\",\n\t\"result\" : \n\t[\n\t\t{\n\t\t\t\"level\" : 4,\n\t\t\t\"message\" : \"2021-04-20 13:29:17.334 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL: \\n{\\n\\t\\\"LastLogTime\\\" : \\\"1618917940\\\",\\n\\t\\\"result\\\" : \\n\\t[\\n\\t\\t{\\n\\t\\t\\t\\\"level\\\" : 4,\\n\\t\\t\\t\\\"message\\\" : \\\"2021-04-20 13:25:13.881 Error: dzVents: Debug: getDomoticzErrorLog: Log Error: Error opening url: http://www.TESTERROR found! \\\"\\n\\t\\t},\\n\\t\\t{\\n\\t\\t\\t\\\"level\\\" : 4,\\n\\t\\t\\t\\\"message\\\" : \\\"2021-04-20 13:25:14.063 Error: Error opening url: http://test_off_error\\\"\\n\\t\\t},\\n\\t\\t{\\n\\t\\t\\t\\\"level\\\" : 4,\\n\\t\\t\\t\\\"message\\\" : \\\"2021-04-20 13:25:35.675 Error: Error opening url: http://www.TESTERROR\\\"\\n\\t\\t},\\n\\t\\t{\\n\\t\\t\\t\\\"level\\\" : 4,\\n\\t\\t\\t\\\"message\\\" : \\\"2021-04-20 13:25:40.648 Error: Error opening url: http://test_off_error\\\"\\n\\t\\t}\\n\\t],\\n\\t\\\"status\\\" : \\\"OK\\\",\\n\\t\\\"title\\\" : \\\"GetLog\\\"\\n}\\n\"\n\t\t},\n\t\t{\n\t\t\t\"level\" : 4,\n\t\t\t\"message\" : \"2021-04-20 13:29:17.356 Error: Error opening url: http://www.TESTERROR\"\n\t\t},\n\t\t{\n\t\t\t\"level\" : 4,\n\t\t\t\"message\" : \"2021-04-20 13:29:17.477 Error: Error opening url: http://www.TESTERROR\"\n\t\t}\n\t],\n\t\"status\" : \"OK\",\n\t\"title\" : \"GetLog\"\n}\n"
2021-04-20 13:31:01.347 },
2021-04-20 13:31:01.347 {
2021-04-20 13:31:01.347 "level" : 4,
2021-04-20 13:31:01.347 "message" : "2021-04-20 13:29:28.586 Error: Error opening url: http://www.TESTERROR"
2021-04-20 13:31:01.347 },
2021-04-20 13:31:01.347 {
2021-04-20 13:31:01.347 "level" : 4,
2021-04-20 13:31:01.347 "message" : "2021-04-20 13:29:28.707 Error: Error opening url: http://test_off_error"
2021-04-20 13:31:01.347 }
2021-04-20 13:31:01.347 ],
2021-04-20 13:31:01.347 "status" : "OK",
2021-04-20 13:31:01.347 "title" : "GetLog"
2021-04-20 13:31:01.347 }
2021-04-20 13:31:01.347
2021-04-20 13:31:01.368 Error: Error opening url: http://www.TESTERROR
2021-04-20 13:31:01.489 Error: Error opening url: http://www.TESTERROR
2021-04-20 13:31:58.663 (Virtual devices) Light/Switch (test_switch)
2021-04-20 13:31:58.662 Status: User: Admin initiated a switch command (2/test_switch/Off)
2021-04-20 13:31:58.685 Status: dzVents: Info: Handling events for: "test_switch", value: "Off"
2021-04-20 13:31:58.686 Status: dzVents: Info: getDomoticzErrorLog: ------ Start internal script: Script #5: Device: "test_switch (Virtual devices)", Index: 2
2021-04-20 13:31:58.686 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: url = http://127.0.0.1:8080/json.htm?type=command¶m=getlog&lastlogtime=1618918260&loglevel=4
2021-04-20 13:31:58.686 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: method = GET
2021-04-20 13:31:58.686 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: post data = nil
2021-04-20 13:31:58.686 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: headers = nil
2021-04-20 13:31:58.686 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: callback = getDomoticzErrorLog
2021-04-20 13:31:58.686 Status: dzVents: Info: getDomoticzErrorLog: ------ Finished Script #5
2021-04-20 13:31:58.686 Status: EventSystem: Script event triggered: /root/dev-domoticz/dzVents/runtime/dzVents.lua
2021-04-20 13:31:58.725 Status: dzVents: Info: Handling httpResponse-events for: "getDomoticzErrorLog"
2021-04-20 13:31:58.725 Status: dzVents: Info: getDomoticzErrorLog: ------ Start internal script: Script #5: HTTPResponse: "getDomoticzErrorLog"
2021-04-20 13:31:58.727 Status: dzVents: Debug: getDomoticzErrorLog: No resulting loglines found for the set logLevel / searchstrings in the last 58 seconds.
2021-04-20 13:31:58.727 Status: dzVents: Debug: getDomoticzErrorLog: No (new) occurrences of string Error opening url in the domoticz log
2021-04-20 13:31:58.727 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: url = http://www.TESTERROR
2021-04-20 13:31:58.727 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: method = GET
2021-04-20 13:31:58.727 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: post data = nil
2021-04-20 13:31:58.727 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: headers = nil
2021-04-20 13:31:58.727 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: callback = nil
2021-04-20 13:31:58.727 Status: dzVents: Info: getDomoticzErrorLog: ------ Finished Script #5
2021-04-20 13:31:58.727 Status: EventSystem: Script event triggered: /root/dev-domoticz/dzVents/runtime/dzVents.lua
2021-04-20 13:31:58.727 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL:
2021-04-20 13:31:58.727 {
2021-04-20 13:31:58.727 "LastLogTime" : "1618918261",
2021-04-20 13:31:58.727 "result" :
2021-04-20 13:31:58.727 [
2021-04-20 13:31:58.727 {
2021-04-20 13:31:58.727 "level" : 4,
2021-04-20 13:31:58.727 "message" : "2021-04-20 13:31:01.347 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL: \n{\n\t\"LastLogTime\" : \"1618918168\",\n\t\"result\" : \n\t[\n\t\t{\n\t\t\t\"level\" : 4,\n\t\t\t\"message\" : \"2021-04-20 13:29:28.565 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL: \\n{\\n\\t\\\"LastLogTime\\\" : \\\"1618918157\\\",\\n\\t\\\"result\\\" : \\n\\t[\\n\\t\\t{\\n\\t\\t\\t\\\"level\\\" : 4,\\n\\t\\t\\t\\\"message\\\" : \\\"2021-04-20 13:29:17.334 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL: \\\\n{\\\\n\\\\t\\\\\\\"LastLogTime\\\\\\\" : \\\\\\\"1618917940\\\\\\\",\\\\n\\\\t\\\\\\\"result\\\\\\\" : \\\\n\\\\t[\\\\n\\\\t\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\\\\"level\\\\\\\" : 4,\\\\n\\\\t\\\\t\\\\t\\\\\\\"message\\\\\\\" : \\\\\\\"2021-04-20 13:25:13.881 Error: dzVents: Debug: getDomoticzErrorLog: Log Error: Error opening url: http://www.TESTERROR found! \\\\\\\"\\\\n\\\\t\\\\t},\\\\n\\\\t\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\\\\"level\\\\\\\" : 4,\\\\n\\\\t\\\\t\\\\t\\\\\\\"message\\\\\\\" : \\\\\\\"2021-04-20 13:25:14.063 Error: Error opening url: http://test_off_error\\\\\\\"\\\\n\\\\t\\\\t},\\\\n\\\\t\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\\\\"level\\\\\\\" : 4,\\\\n\\\\t\\\\t\\\\t\\\\\\\"message\\\\\\\" : \\\\\\\"2021-04-20 13:25:35.675 Error: Error opening url: http://www.TESTERROR\\\\\\\"\\\\n\\\\t\\\\t},\\\\n\\\\t\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\\\\"level\\\\\\\" : 4,\\\\n\\\\t\\\\t\\\\t\\\\\\\"message\\\\\\\" : \\\\\\\"2021-04-20 13:25:40.648 Error: Error opening url: http://test_off_error\\\\\\\"\\\\n\\\\t\\\\t}\\\\n\\\\t],\\\\n\\\\t\\\\\\\"status\\\\\\\" : \\\\\\\"OK\\\\\\\",\\\\n\\\\t\\\\\\\"title\\\\\\\" : \\\\\\\"GetLog\\\\\\\"\\\\n}\\\\n\\\"\\n\\t\\t},\\n\\t\\t{\\n\\t\\t\\t\\\"level\\\" : 4,\\n\\t\\t\\t\\\"message\\\" : \\\"2021-04-20 13:29:17.356 Error: Error opening url: http://www.TESTERROR\\\"\\n\\t\\t},\\n\\t\\t{\\n\\t\\t\\t\\\"level\\\" : 4,\\n\\t\\t\\t\\\"message\\\" : \\\"2021-04-20 13:29:17.477 Error: Error opening url: http://www.TESTERROR\\\"\\n\\t\\t}\\n\\t],\\n\\t\\\"status\\\" : \\\"OK\\\",\\n\\t\\\"title\\\" : \\\"GetLog\\\"\\n}\\n\"\n\t\t},\n\t\t{\n\t\t\t\"level\" : 4,\n\t\t\t\"message\" : \"2021-04-20 13:29:28.586 Error: Error opening url: http://www.TESTERROR\"\n\t\t},\n\t\t{\n\t\t\t\"level\" : 4,\n\t\t\t\"message\" : \"2021-04-20 13:29:28.707 Error: Error opening url: http://test_off_error\"\n\t\t}\n\t],\n\t\"status\" : \"OK\",\n\t\"title\" : \"GetLog\"\n}\n"
2021-04-20 13:31:58.727 },
2021-04-20 13:31:58.727 {
2021-04-20 13:31:58.727 "level" : 4,
2021-04-20 13:31:58.727 "message" : "2021-04-20 13:31:01.368 Error: Error opening url: http://www.TESTERROR"
2021-04-20 13:31:58.727 },
2021-04-20 13:31:58.727 {
2021-04-20 13:31:58.727 "level" : 4,
2021-04-20 13:31:58.727 "message" : "2021-04-20 13:31:01.489 Error: Error opening url: http://www.TESTERROR"
2021-04-20 13:31:58.727 }
2021-04-20 13:31:58.727 ],
2021-04-20 13:31:58.727 "status" : "OK",
2021-04-20 13:31:58.727 "title" : "GetLog"
2021-04-20 13:31:58.727 }
2021-04-20 13:31:58.727
2021-04-20 13:31:58.747 Error: Error opening url: http://www.TESTERROR
2021-04-20 13:31:58.868 Error: Error opening url: http://test_off_error
2021-04-20 13:31:59.849 (RFlink) Temp + Humidity (Spalna)
2021-04-20 13:32:06.848 Status: EventSystem: reset all events...
2021-04-20 13:32:06.848 Status: dzVents: Write file: /root/dev-domoticz/scripts/dzVents/generated_scripts/Script #4.lua
2021-04-20 13:32:06.848 Status: dzVents: Write file: /root/dev-domoticz/scripts/dzVents/generated_scripts/Script #5.lua
2021-04-20 13:32:16.043 Status: EventSystem: reset all events...
2021-04-20 13:32:16.043 Status: dzVents: Write file: /root/dev-domoticz/scripts/dzVents/generated_scripts/Script #4.lua
2021-04-20 13:32:16.043 Status: dzVents: Write file: /root/dev-domoticz/scripts/dzVents/generated_scripts/Script #5.lua
2021-04-20 13:32:21.902 Status: EventSystem: reset all device statuses...
2021-04-20 13:32:36.236 (Virtual devices) Light/Switch (test_switch)
2021-04-20 13:32:36.236 Status: User: Admin initiated a switch command (2/test_switch/On)
2021-04-20 13:32:36.262 Status: dzVents: Info: Handling events for: "test_switch", value: "On"
2021-04-20 13:32:36.262 Status: dzVents: Info: getDomoticzErrorLog: ------ Start internal script: Script #5: Device: "test_switch (Virtual devices)", Index: 2
2021-04-20 13:32:36.262 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: url = http://127.0.0.1:8080/json.htm?type=command¶m=getlog&lastlogtime=1618918317&loglevel=4
2021-04-20 13:32:36.262 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: method = GET
2021-04-20 13:32:36.262 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: post data = nil
2021-04-20 13:32:36.262 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: headers = nil
2021-04-20 13:32:36.262 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: callback = getDomoticzErrorLog
2021-04-20 13:32:36.262 Status: dzVents: Info: getDomoticzErrorLog: ------ Finished Script #5
2021-04-20 13:32:36.262 Status: EventSystem: Script event triggered: /root/dev-domoticz/dzVents/runtime/dzVents.lua
2021-04-20 13:32:36.299 Status: dzVents: Info: Handling httpResponse-events for: "getDomoticzErrorLog"
2021-04-20 13:32:36.300 Status: dzVents: Info: getDomoticzErrorLog: ------ Start internal script: Script #5: HTTPResponse: "getDomoticzErrorLog"
2021-04-20 13:32:36.302 Status: dzVents: Debug: getDomoticzErrorLog: No resulting loglines found for the set logLevel / searchstrings in the last 39 seconds.
2021-04-20 13:32:36.302 Status: dzVents: Debug: getDomoticzErrorLog: No (new) occurrences of string www.TEST in the domoticz log
2021-04-20 13:32:36.302 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: url = http://www.TESTERROR
2021-04-20 13:32:36.302 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: method = GET
2021-04-20 13:32:36.302 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: post data = nil
2021-04-20 13:32:36.302 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: headers = nil
2021-04-20 13:32:36.302 Status: dzVents: Debug: getDomoticzErrorLog: OpenURL: callback = nil
2021-04-20 13:32:36.303 Status: dzVents: Info: getDomoticzErrorLog: ------ Finished Script #5
2021-04-20 13:32:36.303 Status: EventSystem: Script event triggered: /root/dev-domoticz/dzVents/runtime/dzVents.lua
2021-04-20 13:32:36.302 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL:
2021-04-20 13:32:36.302 {
2021-04-20 13:32:36.302 "LastLogTime" : "1618918318",
2021-04-20 13:32:36.302 "result" :
2021-04-20 13:32:36.302 [
2021-04-20 13:32:36.302 {
2021-04-20 13:32:36.302 "level" : 4,
2021-04-20 13:32:36.302 "message" : "2021-04-20 13:31:58.727 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL: \n{\n\t\"LastLogTime\" : \"1618918261\",\n\t\"result\" : \n\t[\n\t\t{\n\t\t\t\"level\" : 4,\n\t\t\t\"message\" : \"2021-04-20 13:31:01.347 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL: \\n{\\n\\t\\\"LastLogTime\\\" : \\\"1618918168\\\",\\n\\t\\\"result\\\" : \\n\\t[\\n\\t\\t{\\n\\t\\t\\t\\\"level\\\" : 4,\\n\\t\\t\\t\\\"message\\\" : \\\"2021-04-20 13:29:28.565 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL: \\\\n{\\\\n\\\\t\\\\\\\"LastLogTime\\\\\\\" : \\\\\\\"1618918157\\\\\\\",\\\\n\\\\t\\\\\\\"result\\\\\\\" : \\\\n\\\\t[\\\\n\\\\t\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\\\\"level\\\\\\\" : 4,\\\\n\\\\t\\\\t\\\\t\\\\\\\"message\\\\\\\" : \\\\\\\"2021-04-20 13:29:17.334 Error: dzVents: Debug: getDomoticzErrorLog: Show ALL: \\\\\\\\n{\\\\\\\\n\\\\\\\\t\\\\\\\\\\\\\\\"LastLogTime\\\\\\\\\\\\\\\" : \\\\\\\\\\\\\\\"1618917940\\\\\\\\\\\\\\\",\\\\\\\\n\\\\\\\\t\\\\\\\\\\\\\\\"result\\\\\\\\\\\\\\\" : \\\\\\\\n\\\\\\\\t[\\\\\\\\n\\\\\\\\t\\\\\\\\t{\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t\\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\\" : 4,\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t\\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\\" : \\\\\\\\\\\\\\\"2021-04-20 13:25:13.881 Error: dzVents: Debug: getDomoticzErrorLog: Log Error: Error opening url: http://www.TESTERROR found! \\\\\\\\\\\\\\\"\\\\\\\\n\\\\\\\\t\\\\\\\\t},\\\\\\\\n\\\\\\\\t\\\\\\\\t{\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t\\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\\" : 4,\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t\\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\\" : \\\\\\\\\\\\\\\"2021-04-20 13:25:14.063 Error: Error opening url: http://test_off_error\\\\\\\\\\\\\\\"\\\\\\\\n\\\\\\\\t\\\\\\\\t},\\\\\\\\n\\\\\\\\t\\\\\\\\t{\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t\\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\\" : 4,\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t\\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\\" : \\\\\\\\\\\\\\\"2021-04-20 13:25:35.675 Error: Error opening url: http://www.TESTERROR\\\\\\\\\\\\\\\"\\\\\\\\n\\\\\\\\t\\\\\\\\t},\\\\\\\\n\\\\\\\\t\\\\\\\\t{\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t\\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\\" : 4,\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t\\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\\" : \\\\\\\\\\\\\\\"2021-04-20 13:25:40.648 Error: Error opening url: http://test_off_error\\\\\\\\\\\\\\\"\\\\\\\\n\\\\\\\\t\\\\\\\\t}\\\\\\\\n\\\\\\\\t],\\\\\\\\n\\\\\\\\t\\\\\\\\\\\\\\\"status\\\\\\\\\\\\\\\" : \\\\\\\\\\\\\\\"OK\\\\\\\\\\\\\\\",\\\\\\\\n\\\\\\\\t\\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\\" : \\\\\\\\\\\\\\\"GetLog\\\\\\\\\\\\\\\"\\\\\\\\n}\\\\\\\\n\\\\\\\"\\\\n\\\\t\\\\t},\\\\n\\\\t\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\\\\"level\\\\\\\" : 4,\\\\n\\\\t\\\\t\\\\t\\\\\\\"message\\\\\\\" : \\\\\\\"2021-04-20 13:29:17.356 Error: Error opening url: http://www.TESTERROR\\\\\\\"\\\\n\\\\t\\\\t},\\\\n\\\\t\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\\\\"level\\\\\\\" : 4,\\\\n\\\\t\\\\t\\\\t\\\\\\\"message\\\\\\\" : \\\\\\\"2021-04-20 13:29:17.477 Error: Error opening url: http://www.TESTERROR\\\\\\\"\\\\n\\\\t\\\\t}\\\\n\\\\t],\\\\n\\\\t\\\\\\\"status\\\\\\\" : \\\\\\\"OK\\\\\\\",\\\\n\\\\t\\\\\\\"title\\\\\\\" : \\\\\\\"GetLog\\\\\\\"\\\\n}\\\\n\\\"\\n\\t\\t},\\n\\t\\t{\\n\\t\\t\\t\\\"level\\\" : 4,\\n\\t\\t\\t\\\"message\\\" : \\\"2021-04-20 13:29:28.586 Error: Error opening url: http://www.TESTERROR\\\"\\n\\t\\t},\\n\\t\\t{\\n\\t\\t\\t\\\"level\\\" : 4,\\n\\t\\t\\t\\\"message\\\" : \\\"2021-04-20 13:29:28.707 Error: Error opening url: http://test_off_error\\\"\\n\\t\\t}\\n\\t],\\n\\t\\\"status\\\" : \\\"OK\\\",\\n\\t\\\"title\\\" : \\\"GetLog\\\"\\n}\\n\"\n\t\t},\n\t\t{\n\t\t\t\"level\" : 4,\n\t\t\t\"message\" : \"2021-04-20 13:31:01.368 Error: Error opening url: http://www.TESTERROR\"\n\t\t},\n\t\t{\n\t\t\t\"level\" : 4,\n\t\t\t\"message\" : \"2021-04-20 13:31:01.489 Error: Error opening url: http://www.TESTERROR\"\n\t\t}\n\t],\n\t\"status\" : \"OK\",\n\t\"title\" : \"GetLog\"\n}\n"
2021-04-20 13:32:36.302 },
2021-04-20 13:32:36.302 {
2021-04-20 13:32:36.302 "level" : 4,
2021-04-20 13:32:36.302 "message" : "2021-04-20 13:31:58.747 Error: Error opening url: http://www.TESTERROR"
2021-04-20 13:32:36.302 },
2021-04-20 13:32:36.302 {
2021-04-20 13:32:36.302 "level" : 4,
2021-04-20 13:32:36.302 "message" : "2021-04-20 13:31:58.868 Error: Error opening url: http://test_off_error"
2021-04-20 13:32:36.302 }
2021-04-20 13:32:36.302 ],
2021-04-20 13:32:36.302 "status" : "OK",
2021-04-20 13:32:36.302 "title" : "GetLog"
2021-04-20 13:32:36.302 }
2021-04-20 13:32:36.302
2021-04-20 13:32:36.317 Error: Error opening url: http://www.TESTERROR
Do you know any better way how to monitor and revert back if URL of switch is not accessible ?