How do I prevent logging/tracing?

Questions about Wine on Linux
Locked
fmachado
Newbie
Newbie
Posts: 2
Joined: Thu Oct 15, 2020 6:11 am

How do I prevent logging/tracing?

Post by fmachado »

I use a windows program with wine that is always open. Today I got a warning for a disk full and upon inspecting I discovered that I had a 600Gb ~/.local/share/sddm/xorg-session.log. 99.9% of the file was the line

Code: Select all

016c:fixme:dwmapi:DwmFlush () stub
And yes, it is Wine, while running that program that is filling the log file. Is there anyway to prevent it from happening? I'm running Wine-Staging 5.19 on ArchLinux.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: How do I prevent logging/tracing?

Post by jkfloris »

You can turn off all Wine debug messages with:

Code: Select all

WINEDEBUG=-all wine program_name.exe
fmachado
Newbie
Newbie
Posts: 2
Joined: Thu Oct 15, 2020 6:11 am

Re: How do I prevent logging/tracing?

Post by fmachado »

Thanks a lot for your answer. I just realised I never thanked you. I'm really sorry.
Locked