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?