I have PyCharm installed on my Linux system. When launched, it prints different warnings for example:
X Input2 not supported in the server
Which comes from here. It calls the log.warning method to print the warning.
Those warnings are printed to the standard output. I'm trying to figure out how to redirect all those printed warnings into a dedicated log file, without custom rededication like >& log.
I'm sure that there is some custom way to do this, by setting an environment variable or editing one of the XML files (like ui.lnf.xml, editor.xml, options.xml etc.). Tried to investigate the code, but I can't seem to figure out a way to do this. Is it possible to achieve?