http://bugs.winehq.org/show_bug.cgi?id=20799
--- Comment #30 from Dmitry Timoshkov dmitry@codeweavers.com 2009-11-30 07:51:30 --- Just run 'wine notepad' in one terminal window, minimize notepad (to make it go out of the way, and not produce any painting flood in the logs). Then in a separate terminal window run your app with logs you need.