Implement command-line-argument to trigger message export.
Once pdserv#41 (closed) is implemented, add a command-line-argument --export-events <PATH> to hrt_main.c that triggers a message export to the specified path via pdserv_event_export().
Maybe another option is useful to stop the process after initialization (like in Odoo --stop-after-init).
Edited by Florian Pose