Does wine enable logging and if so can I disable it? And how
Does wine enable logging and if so can I disable it? And how
Thanks. Questions in title.
Does wine enable logging and if so can I disable it? And how
Susan Cragin wrote:
only way you get a log file is if you redirect stderr to a file, like so:
wine program.exe &>wine.log
Since you create the log files, they're easy to remove with:
rm wine.log
or some such command.
If you don't want any output at all, set the WINEDEBUG environment
variable to -all, like so:
WINEDEBUG=-all wine program.exe
Then none of the FIXMEs, ERRs, TRACEs, etc. will get printed to stderr.
Chip
Wine's "logging" is nothing more than printing messages to stderr. TheThanks. Questions in title.
only way you get a log file is if you redirect stderr to a file, like so:
wine program.exe &>wine.log
Since you create the log files, they're easy to remove with:
rm wine.log
or some such command.
If you don't want any output at all, set the WINEDEBUG environment
variable to -all, like so:
WINEDEBUG=-all wine program.exe
Then none of the FIXMEs, ERRs, TRACEs, etc. will get printed to stderr.
Chip
Does wine enable logging and if so can I disable it? And how
Charles Davis <[email protected]> wrote:
If you are getting a bunch of fixmes you can always turn of the 'channel'
WINEDEBUG=-richedit wine program.exe
should shut down all reporting for richedit.
James McKenzie
And it makes troubleshooting very hard...Susan Cragin wrote:Wine's "logging" is nothing more than printing messages to stderr. TheThanks. Questions in title.
only way you get a log file is if you redirect stderr to a file, like so:
wine program.exe &>wine.log
Since you create the log files, they're easy to remove with:
rm wine.log
or some such command.
If you don't want any output at all, set the WINEDEBUG environment
variable to -all, like so:
WINEDEBUG=-all wine program.exe
Then none of the FIXMEs, ERRs, TRACEs, etc. will get printed to stderr.
If you are getting a bunch of fixmes you can always turn of the 'channel'
WINEDEBUG=-richedit wine program.exe
should shut down all reporting for richedit.
James McKenzie
Re: Does wine enable logging and if so can I disable it? And
Sorta on both questions.Susan Cragin wrote:Does wine enable logging and if so can I disable it? And how
Wine logging can not be disabled during compile time. It will always be compiled in. By default err, and fixme debug levels are enabled. Trace level is disabled. If you want to disable all set WINEDEBUG env var to "-all". This has a very small overhead in most places that try to log something.
Does wine enable logging and if so can I disable it? And how
Susan Cragin wrote:
Thanks. Questions in title.
Wine's "logging" is nothing more than printing messages to stderr. The
only way you get a log file is if you redirect stderr to a file, like so:
wine program.exe &>wine.log
Since you create the log files, they're easy to remove with:
rm wine.log
or some such command.
If you don't want any output at all, set the WINEDEBUG environment
variable to -all, like so:
WINEDEBUG=-all wine program.exe
Then none of the FIXMEs, ERRs, TRACEs, etc. will get printed to stderr.
And it makes troubleshooting very hard...
If you are getting a bunch of fixmes you can always turn of the 'channel'
WINEDEBUG=-richedit wine program.exe
should shut down all reporting for richedit.
James McKenzie
------------------------------------------------
Aren't these all things that have to be turned on in the first place, with winedbg?
I was looking for an automatic and insidious logger like linux's rsyslog.
Here's my problem. I'm running a program (NaturallySpeaking) that creates lots of useless error message and has the capacity to create huge logs. Rsyslog was killing it.
I turned of linux's logging with
sudo service rsyslog stop
and NatSpeak started running much better, without freezing/crashing.
So, I thought there might be an equivalent Windows logger that ran in wine, and a similar command to kill it.
Susan
Thanks. Questions in title.
Wine's "logging" is nothing more than printing messages to stderr. The
only way you get a log file is if you redirect stderr to a file, like so:
wine program.exe &>wine.log
Since you create the log files, they're easy to remove with:
rm wine.log
or some such command.
If you don't want any output at all, set the WINEDEBUG environment
variable to -all, like so:
WINEDEBUG=-all wine program.exe
Then none of the FIXMEs, ERRs, TRACEs, etc. will get printed to stderr.
And it makes troubleshooting very hard...
If you are getting a bunch of fixmes you can always turn of the 'channel'
WINEDEBUG=-richedit wine program.exe
should shut down all reporting for richedit.
James McKenzie
------------------------------------------------
Aren't these all things that have to be turned on in the first place, with winedbg?
I was looking for an automatic and insidious logger like linux's rsyslog.
Here's my problem. I'm running a program (NaturallySpeaking) that creates lots of useless error message and has the capacity to create huge logs. Rsyslog was killing it.
I turned of linux's logging with
sudo service rsyslog stop
and NatSpeak started running much better, without freezing/crashing.
So, I thought there might be an equivalent Windows logger that ran in wine, and a similar command to kill it.
Susan
Re: Does wine enable logging and if so can I disable it? And
what was in these logs?Susan Cragin wrote:Susan Cragin wrote:
Thanks. Questions in title.
Wine's "logging" is nothing more than printing messages to stderr. The
only way you get a log file is if you redirect stderr to a file, like so:
wine program.exe &>wine.log
Since you create the log files, they're easy to remove with:
rm wine.log
or some such command.
If you don't want any output at all, set the WINEDEBUG environment
variable to -all, like so:
WINEDEBUG=-all wine program.exe
Then none of the FIXMEs, ERRs, TRACEs, etc. will get printed to stderr.
And it makes troubleshooting very hard...
If you are getting a bunch of fixmes you can always turn of the 'channel'
WINEDEBUG=-richedit wine program.exe
should shut down all reporting for richedit.
James McKenzie
------------------------------------------------
Aren't these all things that have to be turned on in the first place, with winedbg?
I was looking for an automatic and insidious logger like linux's rsyslog.
Here's my problem. I'm running a program (NaturallySpeaking) that creates lots of useless error message and has the capacity to create huge logs. Rsyslog was killing it.
I turned of linux's logging with
sudo service rsyslog stop
and NatSpeak started running much better, without freezing/crashing.
So, I thought there might be an equivalent Windows logger that ran in wine, and a similar command to kill it.
Susan
Re: Does wine enable logging and if so can I disable it? And
No. Wine does not have a special "logger" process. All Wine has is a mechanism to enable/disable printing of some messages from all over the code. Ex:Susan Cragin wrote:Aren't these all things that have to be turned on in the first place, with winedbg?
Code: Select all
if (logging_enabled) printf("Some log message\n");