[Bug 174112] KFileDebugStream crashes if multiple endl are inserted in the debug message

George Kiagiadakis gkiagiad at csd.uoc.gr
Tue Nov 11 19:25:12 CET 2008


http://bugs.kde.org/show_bug.cgi?id=174112





--- Comment #6 from George Kiagiadakis <gkiagiad csd uoc gr>  2008-11-11 19:25:06 ---
Here is your information, Stefano:
I finally found out how to enable/disable logging to a file and I reproduced
the crash myself by setting the option to log to a file.

To disable logging, open $KDEHOME/share/config/kdebugrc and in the section
[5006] (if it doesn't exist, create it) set WarnOutput=4 (4 means disabled),
like this:

[5006]
WarnOutput=4

To enable logging to a file and reproduce the crash, set WarnOutput=0
Finally, to see the warning in the console, set WarnOutput=2

PS: The default in all cases is 2 (log to the console), so, if you didn't set
this setting by yourself, it means that the packagers of your distribution have
changed the default and this is not a very nice default imho. I'd suggest
informing them about that....


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdelibs-bugs mailing list