xenia
xenia copied to clipboard
xenia log generating
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
i thought it didn't generate logs unless you told it to? as for making them less aggressive i'm not sure
You can disable XE_OPTION_ENABLE_LOGGING macro in logging.h and rebuild.
I noticed that the Emucr builds that many people are using generate logs automatically (no parameter needed).
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)
It would be nice
Happens even with Release build. Bad idea!
@Razzile Are you going to submit that PR?
@Margen67 probably not for a while, in the middle of exams
~~This is possible with --log_file=stdout~~ nvm, this doesn't completely disable it
worth noting this is not a full solution as if xenia is launched from command line logs will still be output there
Just a thought, why not move that as an option in xenia.config.toml
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 i did that and it works! its not generating any logs
btw will it affect my gaming or sumthn?