Exploring developing a plugin. Wanting to log information for debugging in the Python plugin script. Documentation for the plugin.xml suggests you can direct stdout and stderr to the SynFig log or a message presented to the user. Does this work? I’m trying to direct log messages to either using Python “print” statements. No message is displayed to me. And I’m not sure where the SynFig log file is located.
So you should set “log” for both stdout and stderr and start Synfig from a terminal/console to see the log.
If you are under Windows, you should use “synfigstudio.exe --console” to start it.
Thanks for the info. I was not aware there is a console available. So I launched a copy of synfigstudio.exe with the --console parameter. Synfig came up but I’m not sure where the console is.
Everywhere where we talk about to obtain logs to solve an issue …
Note that this parameter is specific to Windows, which is not the primary target for development.
Starting SynfigStudio from the terminal in Linux displays everything.