Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When an app running under Wine logs something to the Windows event log, what does Wine do with it?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Windows stores the event logs in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog. I opened up the wine regedit and tried to go to that location but there does not appear to be an Eventlog key under the Services key for wine.

I would expect that all error messages that would usually go to the event log would be passed to standard output. In order to see what errors occur during the execution of your program, open up a terminal and type wine applicationName and it will open up your windows program and any errors will appear in the terminal.

share|improve this answer
    
I just peeked into the source code of Wine, and can confirm that all it does is do a standard Wine trace message. If the right WINEDEBUG is defined, it output to stderr. This doesn't help w/ postmortem if the end user wasn't already setup for caputing output! I added some code in my application to dump my events out to a text file as well. –  Troy Jun 23 '10 at 20:13
    
Nice! I'm working on learning programming so I can do what you just did. –  James T Jun 23 '10 at 20:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.