O'Reilly logo

Mastering Internet of Things by Peter Waher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Monitoring event logs

In the application data folder, a subfolder called Events is created. In it, XML files will be output when events are logged from anywhere in the system. Old XML files will be deleted automatically. The XML files reference XSL transforms in the Transforms subfolder to the application data folder. This makes it possible to view finished XML files in browsers in a user-friendly manner.

Events are also persisted in the object database. These events can be searched and accessed via the XMPP interface.
You can output events from your code by accessing the static Log class defined in Waher.Events.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required