[Bug 49871] option to trim logs after N megabytes
WineHQ Bugzilla
wine-bugs at winehq.org
Sun Sep 20 17:25:13 CDT 2020
https://bugs.winehq.org/show_bug.cgi?id=49871
Olivier F. R. Dierick <o.dierick at piezo-forte.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
CC| |o.dierick at piezo-forte.be
--- Comment #1 from Olivier F. R. Dierick <o.dierick at 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.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list