Bug 411152

Summary: KTorrent generate too many logs in xsession* Loglevel option not work
Product: [Applications] ktorrent Reporter: Amin <aminux>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: jackhill3103
Priority: NOR Keywords: usability
Version: 5.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=320733
https://bugs.kde.org/show_bug.cgi?id=329671
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***