Redirect messages from a snapped app?

Is it possible to redirect messages and errors from a snapped app ?

My app gives the messages shown below, but it runs fine. Is it possible to silence such messages ?

(It would be best to solve "the problem(s), but how do I do that?)

The messages

/snap/snappedapp/x1/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: symbol lookup error: /snap/snappedapp/x1/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3.so.0: undefined symbol: pango_font_family_get_face

ERROR: /snap/snappedapp/x1/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 exited abnormally with status 127

Gtk-Message: 23:34:57.267: Failed to load module “gail”

Gtk-Message: 23:34:57.268: Failed to load module “atk-bridge”

Gtk-Message: 23:34:57.326: Failed to load module “canberra-gtk-module”

(snappedapp.gtk:15434): GdkPixbuf-CRITICAL **: 23:35:04.237: gdk_pixbuf_scale_simple: assertion ‘dest_height > 0’ failed

(snappedapp.gtk:15434): GLib-GIO-WARNING **: 23:35:07.736: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

(snappedapp.gtk:15434): GdkPixbuf-CRITICAL **: 23:35:45.000: gdk_pixbuf_scale_simple: assertion ‘dest_height > 0’ failed

(snappedapp.gtk:15434): GLib-GIO-WARNING **: 23:35:53.296: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

(snappedapp.gtk:15434): GdkPixbuf-CRITICAL **: 23:36:41.425: gdk_pixbuf_scale_simple: assertion ‘dest_height > 0’ failed

(snappedapp.gtk:15434): GLib-GIO-WARNING **: 23:36:45.225: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

install the snappy-debug snap and run the snappy-debug command from it in a second terminal before executing your app, that should give some suggestions for interfaces to connect …