Plugin allowing custom log management in your scenarios. It is possible to create as many log as wanted, different log level are possible for each log file. This allows you to organize your scenario logs according to your preferences, for example to group all the actions on a device in the same log whatever the scenario.
The logs are consulted via Jeedom’s standard interface. The purge of the logs is also managed by Jeedom’s general config.
Component | Version |
---|---|
Debian | Bullseye(11) & Bookworm(12) |
Jeedom | >= 4.2 |
In order to use the plugin, you must download, install and activate it like any Jeedom plugin.
The plugin can be found in the Plugins → Programming menu.
After creating new device, the usual options are available.
One device corresponds to one log, the name of the device will be used as the name of the log file.
Tip
In order to avoid potential problems, the name of the device must consist only of letters a to z, in lowercase or uppercase, and the underscore character “_”, the first character must be a letter.
In addition, you can select the level of log to write: Debug, Info, Warning, Error.
Each device (log) has a message type command per log level:
Just call the desired command with the message and the log will be written according to the log level configured on the device.
Depending on the configuration, an event will be generated by the plugin (only if the message is actually written in the log). This event can be used as a scenario trigger, it is useful if you want to perform custom actions following a certain level of log:
There are also the following commands which have the same behavior as the corresponding manual actions in Jeedom:
There are two options:
The choice is made in the configuration of the device.
If you have a problem, start by reading the latest plugin-related topics on community.
If despite this you do not find an answer to your question, do not hesitate to create a new topic, with the tag of the plugin (plugin-logmanager).
At a minimum, you will need to provide:
Preformatted Text
(button </>
on community), no files!