Notifications are stored in an SQLite database and should only be accessed by the provided notification functions.
Set test notifications
Use these simple code snippets in a Perl (.pl) script to use notify and notify_ext. Place the script in your plugin directory.
View all notifications
There are two web tools integrated in LoxBerry to show current notifications:
This will display notifications as users would see it on the screen, but without filters for package and name.
As the function get_notifications_html only returns notifications with severity 3 = error and 6 = info, no other severities are shown.
The RAW tool will show all notifications, without any filters for package, name and severity. It also displays notifications other than severity 3 = error and 6 = info, and shows all known attributes.
The database is located in $lbsdatadir/notifications_sqlite.dat
If you delete the file, it will be recreated on the next notification with it's initial settings. Additional to the notifications, you may loose notification settings or helper notifications (e.g. the last notified LoxBerry Update version).