Bug 411152 - KTorrent generate too many logs in xsession* Loglevel option not work
Summary: KTorrent generate too many logs in xsession* Loglevel option not work
Status: RESOLVED DUPLICATE of bug 368114
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 5.1
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2019-08-22 06:58 UTC by Amin
Modified: 2023-12-18 16:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amin 2019-08-22 06:58:18 UTC
SUMMARY

When active seeding ktorrent write too many logs to ~/.xsession_errors or in case of inaccesibity .xsession_erros - - to /tmp/xses-username.???? log file.
For two days size of log can increase up to some gigabytes.

I try change loglevel in ktorrent options - Journals - set all levels to none, but no changes in ktorrent behavior

STEPS TO REPRODUCE
1. Start ktorrent with seeding popular torrent
2. Watch to files ~/.xsession_errors and/or /tmp/xses-$username.*
3. See relatively fast increase this logs with detail about each torrent connections
4. Try to disable logs in ktorrent log option and watch log files again

OBSERVED RESULT
- Logs writed to xsession_errors / xses-* and grow such fast
- log level can't be tweaked

EXPECTED RESULT
- Logs writed only in ~/.local/share/ktorrent/logs  (subdir for logs will be nice idea)
- Log level options will work for this logs.


Some similiar bugs: 320733 + 329671
In case of small partitions ktorrent logs can eat all free space;



SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jack Hill 2023-12-18 16:34:53 UTC

*** This bug has been marked as a duplicate of bug 368114 ***