Unable to read logs using the built in logging module
My first problem is:
-
I am trying to read the logs for accelerometer using the logging module but it is not able to read them using downloadLog function. I am trying to use a callback function but doesn't go through all the event.emitter listeners.
-
I am also facing an issue while running the accelerometerLog.js module, it gives me an warning, but not sure if it is relevant to the first issue: (node:11995) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 write listeners added. Use emitter.setMaxListeners() to increase limit.
Hi,
The logging module is incomplete in the current version, however, a work in progress version have been developped while ago in this branch. Unfortunately, this last version is not in sync with the latest dependencies but might still work.
I suggest you run this example
Regarding the warnings you encounter with the listeners, it is a known issue not impacting the way the library works.
Alan