Module: Log Writer

From Yombo
Jump to: navigation, search
Quick Facts
Links
Documentation
Repository
Module Details
Created 2018-01-08 20:34:09 GMT
Developer Details
Prod Branch master
Prod Updated 2018-10-26 08:16:37
Prod Version None
Dev Branch develop
Dev Updated 2016-12-18 12:49:47
Dev Version None

Summary

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.

Usage

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.

Todo

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.

Installation

Simply mark this module as being used by the gateway, and the gateway will download and install this module automatically.

License

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.


This page was last edited on 26 October 2018.