Bug 306458

Summary: yast logs messages with level 0 into the log even if debug is turned off
Product: [openSUSE] openSUSE 10.3 Reporter: Ladislav Slezák <lslezak>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: locilka
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ladislav Slezák 2007-08-30 17:56:37 UTC
There are several bugreports in bugzilla that YaST logs are still
increasing and they're very often impossible to attach them into a
bugreport because of 5MB limit.

I've used y2log-1 from bug #304815 as an example. The format is:
Source File | Log Level | Count | Total Size in Bytes

QueueItemRequire.cc 1 1956    285.556
                    0  450     88.196
ContextPool.cc      0 6145    844.020
Exception.cc        5 7807  1.531.198
Resolver.cc         1 6630    886.471
                    0 12858 1.664.251
MediaCurl.cc        0 5900    968.752
ResolverUpgrade.cc  1 15506 2.675.810
ExternalProgram.cc  0 7479  1.145.172

The log file has 15.601.918 bytes in total...
Entries mentioned above are just an example and I know that common
libzypp developer can find more information that I did in the output.

Messages with level 0 should not be logged if debug is turned off.
Comment 1 Ladislav Slezák 2007-08-30 18:17:47 UTC
Fixed in yast2-pkg-bindings-2.15.47 (and in libzypp-3.21.0)