| Summary: | Provide an option to disable logging | ||
|---|---|---|---|
| Product: | [Applications] ktorrent | Reporter: | Lastique <andysem> |
| Component: | general | Assignee: | Joris Guisson <joris.guisson> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | jackhill3103 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/network/ktorrent/-/commit/1d15b7d578da30864e9de70523ba6854f525955f | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Lastique
2020-12-13 22:35:49 UTC
Related proposed change that adds a command line option to disable logging: https://invent.kde.org/network/ktorrent/-/merge_requests/86 Seems like the bug janitor but didn't work so I will post the details here: Git commit 1d15b7d578da30864e9de70523ba6854f525955f by Andrey Semashev. Committed on 11/11/2023 at 01:13. Pushed by stikonas into branch 'master'. Disable logging by default and add --enable-logging command line option. Logging is not useful during normal operation of the program and only generates unnecessary writes to the filesystem and periodic CPU load when the log files are compressed. So disable logging by default. Provide the --enable-logging command line option to enable logging back. The option is now also required to enable logging on console (which is further enabled by --verbose). Related: bug 430355 M +7 -3 ktorrent/main.cpp https://invent.kde.org/network/ktorrent/-/commit/1d15b7d578da30864e9de70523ba6854f525955f |