openplotter icon indicating copy to clipboard operation
openplotter copied to clipboard

DEBUG for Signal K debug logging

Open tkurki opened this issue 7 years ago • 1 comments

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.

tkurki avatar Sep 23 '18 19:09 tkurki

That sounds like a good idea.

sailoog avatar Sep 24 '18 18:09 sailoog