sailoog / openplotter

Obsolete project. New one and active: https://github.com/openplotter
http://www.sailoog.com/openplotter
GNU General Public License v2.0
153 stars 53 forks source link

DEBUG for Signal K debug logging #225

Open tkurki opened 6 years ago

tkurki commented 6 years ago

Signal K server diagnostic logging is controlled by the environment variable DEBUG. To enable for example debug logging for plugins loading system you set DEBUG to signalk:interfaces:plugins. For the aisreporter plugin the value is@signalk/aisreporter`.

Would it make sense to enable users to set the DEBUG environment variable from the Openplotter user interface and then restart the server? Then the user could be directed to do so (we could add the different debug keys to SK server documentation) and then look at their syslog.

sailoog commented 6 years ago

That sounds like a good idea.