https://bugs.winehq.org/show_bug.cgi?id=49871
Bug ID: 49871 Summary: option to trim logs after N megabytes Product: Wine Version: 5.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: acroq3@gmail.com Distribution: ---
Useful for Internet uploads. Disable it by default.
https://bugs.winehq.org/show_bug.cgi?id=49871
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED CC| |o.dierick@piezo-forte.be
--- Comment #1 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Logging the first N megabytes of output makes no sense, as errors usually occur at the end, not at the start, and if the output is big enough you'll miss the meaningful part.
Logging the last N megabytes of output is impossible from inside Wine (not without cacheing everything until the end).
Wine sends its output to stderr on the fly. Wine doesn't know what happens to the output beyond that and cannot possibly control what is done with the data.
If the user redirects stderr to a file, Wine doesn't know that. It's up to the user to trim the file to a fixed amount. There are already plenty of ways to do what you want with external tools.
Marking invalid.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=49871
--- Comment #2 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=49871
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com --- Closing.