Other answers didn't really work for me when developing my own extension. What was it:
journalctl /usr/lib/gnome-session/gnome-session-binary -f -o cat
If you want to declare output only for your application, you can use:
journalctl /usr/lib/gnome-session/gnome-session-binary -f -o cat | grep [myAppId]
If you also want to access error logs using the above method above, you can use:
global.log('[myAppId]', valueToLog);
If you do not know the correct path to the gnome session, you can also use:
journalctl -f | grep gnome-session
Why it does not work, probably due to my binary path related to gnome-session, was different, which may be due to installing a newer version of gnome.
hugo der hungrige Apr 27 '17 at 10:02 2017-04-27 10:02
source share