Well,
the only folder where logs are written is normally /var/log. In your case, the information your looking for could be at different places, because the developer can choose different ones, or might have decided to write logs to his/her own place.
It might be in /var/log/syslog - In syslog are all logs which derive from the system itself, but also programs which were programmed to write into syslog directly.
Then there should be something like /var/log/gdm3 - This is the logfile of the gnome window manager. So if gnome recognises smtg. or has problems itself, it would write it down there.
Did you consider to write it down to your own folder? You could simply append a logfile to your command and then the data would be written in there (according on how you set it up).
This is the second time I link to this today, lol. Look here, as you are using a python application (looks like it), this link should serve you well my friend. Give it a try.
Try to start your python wrapper like this pycharm-wrapper foo &>> /home/$(whoami)/mylogfile.log
Next time before you start, make sure to tail this. Open up a console and type in tail -f /home/($whoami)/mylogfile.log
. THEN start you python wrapper and take a look at the console, if errors are displayed.
How do I save terminal output to a file?
pycharm-wrapper foo
? If yes, you may want to consider wrapping it into a shell command. Something likebash -c 'exec 2>/home/guettli/foo.error.log; pycharm-wrapper foo'
– Sergiy Kolodyazhnyy Dec 15 '19 at 00:13.desktop
files work. Desktop just spawns a subprocess and executes whatever command you put intoExec=
line, and the desktop environments are not required to keep track of stdout/stderr since there's no shell/controlling terminal attached. They could implement that, there's no restriction, but there's no requirement either. Unity did keep track of process crashing, and would show crash dump of the process, for python commands - a traceback or exceptions. Other desktops - I've never seen such feature. – Sergiy Kolodyazhnyy Dec 19 '19 at 06:32