Module: Log Writer
|Created||2018-01-08 20:34:09 GMT|
|Prod Updated||2018-10-26 08:16:37|
|Dev Updated||2016-12-18 12:49:47|
A demonstration module that adds basic ability to send events to a log file. This can be used as a foundation for more advanced modules.
The primary purpose of this module is to provide an example of writing modules and as well as writing events to a file for human consumption.
Many users may wish to modify this module for their own purpose or add aditional logging details.
Warning: Be sure to grant read access only to users and applications that should be able to view the status of devices.
Warning: This file can grow to large sized. Be sure to periodically delete the log file.
Currently the log file will continue to grow. A maintenance task needs to be setup to rotate or delete the file after a certain size or number of days.
Simply mark this module as being used by the gateway, and the gateway will download and install this module automatically.
The Yombo team and other contributors hopes that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See Yombo Gateway LICENSE file for full details.