xenia icon indicating copy to clipboard operation
xenia copied to clipboard

xenia log generating

Open Xcedf opened this issue 9 years ago • 13 comments
trafficstars

Hi, not an issue actually, just want to ask if is there any way to disable xenia.log generating or make it less aggressive, some games generate log file that sizes a few Gb Thanks

Xcedf avatar Dec 19 '15 17:12 Xcedf

i thought it didn't generate logs unless you told it to? as for making them less aggressive i'm not sure

Razzile avatar Dec 19 '15 19:12 Razzile

You can disable XE_OPTION_ENABLE_LOGGING macro in logging.h and rebuild.

robhshu avatar Dec 19 '15 21:12 robhshu

I noticed that the Emucr builds that many people are using generate logs automatically (no parameter needed).

theoldsport avatar Dec 19 '15 21:12 theoldsport

it seems xenia now generates logs automatically. I might submit a pull request to revert to old logging method or maybe a gflag to disable logging (if benvanik doesn't do it himself)

Razzile avatar Dec 19 '15 21:12 Razzile

It would be nice

Xcedf avatar Dec 20 '15 08:12 Xcedf

Happens even with Release build. Bad idea!

Blackbird88 avatar Dec 24 '15 20:12 Blackbird88

@Razzile Are you going to submit that PR?

Margen67 avatar Jun 19 '16 20:06 Margen67

@Margen67 probably not for a while, in the middle of exams

Razzile avatar Jun 19 '16 20:06 Razzile

~~This is possible with --log_file=stdout~~ nvm, this doesn't completely disable it

Margen67 avatar Nov 23 '18 10:11 Margen67

worth noting this is not a full solution as if xenia is launched from command line logs will still be output there

Razzile avatar Nov 23 '18 16:11 Razzile

Just a thought, why not move that as an option in xenia.config.toml

raycekar avatar Aug 06 '21 00:08 raycekar

Open log with notepad. Ctrl+A [highlight all text]. Delete. Ctrl+S [Save file]. Now right-click log and select properties. Check the "Read-Only" option and click Apply and/or OK. There.. Log now doesn't write and it doesn't take up any space.

AvZ77 avatar Aug 09 '21 13:08 AvZ77

@AvZ77 i did that and it works! its not generating any logs

btw will it affect my gaming or sumthn?

Abrocadabro64 avatar Aug 11 '21 19:08 Abrocadabro64