Recevoir Log ERROR par mail

Bonjour

Il y a deux jours, j’ai eu un très gros ralentissement de mon jeedom (au point de devoir le redémarrer), suite, je pense (c’est du moins la seule chose que j’ai vu) à un problème sur rfxcom.
Mes logs ont été remplis en peu de temps:

242|[2022-12-06 21:40:09]ERROR : Error on send request to jeedom, return code 500
0243|[2022-12-06 21:40:09]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0244|[2022-12-06 21:40:09]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0245|[2022-12-06 21:40:09]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0246|[2022-12-06 21:40:09]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0247|[2022-12-06 21:40:12]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0248|[2022-12-06 21:40:12]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0249|[2022-12-06 21:40:12]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0250|[2022-12-06 21:40:12]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0251|[2022-12-06 21:40:13]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0252|[2022-12-06 21:40:13]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0253|[2022-12-06 21:40:13]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0254|[2022-12-06 21:40:13]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0255|[2022-12-06 21:40:14]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0256|[2022-12-06 21:40:14]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0257|[2022-12-06 21:40:14]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0258|[2022-12-06 21:40:14]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0259|[2022-12-06 21:40:20]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0260|[2022-12-06 21:40:20]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0261|[2022-12-06 21:40:20]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0262|[2022-12-06 21:40:20]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0263|[2022-12-06 21:40:23]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0264|[2022-12-06 21:40:23]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0265|[2022-12-06 21:40:23]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0266|[2022-12-06 21:40:23]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0267|[2022-12-06 21:40:27]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0268|[2022-12-06 21:40:27]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0269|[2022-12-06 21:40:27]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0270|[2022-12-06 21:40:27]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0271|[2022-12-06 21:40:35]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0272|[2022-12-06 21:40:35]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0273|[2022-12-06 21:40:35]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0274|[2022-12-06 21:40:35]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0275|[2022-12-06 21:40:55]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0276|[2022-12-06 21:40:55]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0277|[2022-12-06 21:40:55]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0278|[2022-12-06 21:40:55]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0279|[2022-12-06 21:40:58]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0280|[2022-12-06 21:40:58]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0281|[2022-12-06 21:40:58]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0282|[2022-12-06 21:40:58]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0283|[2022-12-06 21:41:01]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0284|[2022-12-06 21:41:01]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0285|[2022-12-06 21:41:01]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0286|[2022-12-06 21:41:01]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0287|[2022-12-06 21:41:02]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0288|[2022-12-06 21:41:02]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0289|[2022-12-06 21:41:02]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0290|[2022-12-06 21:41:02]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0291|[2022-12-06 21:41:02]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0292|[2022-12-06 21:41:02]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0293|[2022-12-06 21:41:02]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0294|[2022-12-06 21:41:02]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0295|[2022-12-06 21:41:04]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0296|[2022-12-06 21:41:04]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0297|[2022-12-06 21:41:04]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0298|[2022-12-06 21:41:04]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0299|[2022-12-06 21:41:10]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0300|[2022-12-06 21:41:10]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0301|[2022-12-06 21:41:10]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0302|[2022-12-06 21:41:10]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0303|[2022-12-06 21:41:33]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0304|[2022-12-06 21:41:33]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0305|[2022-12-06 21:41:33]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0306|[2022-12-06 21:41:33]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0307|[2022-12-06 21:41:37]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0308|[2022-12-06 21:41:37]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0309|[2022-12-06 21:41:37]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0310|[2022-12-06 21:41:37]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment
0311|[2022-12-06 21:41:39]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 0/3
0312|[2022-12-06 21:41:39]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 1/3
0313|[2022-12-06 21:41:39]ERROR : Error on send request to jeedom HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) retry : 2/3
0314|[2022-12-06 21:41:39]ERROR : Critical error on  send_changes_async local variable 'r' referenced before assignment

Serait-il possible de recevoir par mail les logs en ERROR dès qu’ils arrivent, pour tous les plugins?
Et donc, uniquement les ERROR.

J’ai cherché, mais je n’ai pas trouvé de solution. Avez vous une idée?

Merci

Réglages > Système > Configuration
Onglet Logs

  • Ajouter un message à chaque erreur dans les logs : si un plugin ou Jeedom écrit un message d’erreur dans un log, Jeedom ajoute automatiquement un message dans le centre des messages (au moins vous êtes sûr de ne pas le manquer).
  • Action sur message : Permet de faire une action lors de l’ajout d’un message dans le centre des messages. Vous avez 2 tags pour ces actions : - #subject# : message en question. - #plugin# : plugin qui a déclenché le message.

https://doc.jeedom.com/fr_FR/core/4.3/administration?theme=light

plugin-mail

Attention au spam :slight_smile:

Merci pour ta réponse.

J’avais bien vu cela dans la doc, mais je ne voudrais avoir que les logs en error et pas tous.
De ce que j’en ai compris, cette config permet d’envoyer un mail pour tous les logs

… coche

complete avec ton mail

Ah donc en faisant ça, je ne recevrais que logs en error?
Au temps pour moi, je n’avais pas compris, je vais faire ca alors
Merci

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.