Opened 4 years ago
#16807 new bug
package_daemon needs to log more politely
Reported by: | kallisti5 | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Servers/package_daemon | Version: | R1/Development |
Keywords: | log | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
package_daemon makes an utter mess of the syslogs because it prints log statement lines in multiple printf calls. This makes an unholy mess of our syslogs logs
Example:
KERN: package_daemon [31835972: 788] radeon_hd: gpio_i2c_populate: i2c GPIO @ 6, valid: true, hwPin: 0x90 KERN: active package: "bemines-1.1-1-x86_64.hpkg" KERN: radeon_hd: gpio_i2c_populate: i2c GPIO @ 7, valid: true, hwPin: 0x91 KERN: package_daemon [31855451: 788] radeon_hd: gpio_i2c_populate: i2c GPIO @ 8, valid: true, hwPin: 0x92 KERN: active package: "rhash-1.4.0-2-x86_64.hpkg" KERN: radeon_hd: gpio_i2c_populate: i2c GPIO @ 9, valid: true, hwPin: 0x93 KERN: package_daemon [31874323: 788] radeon_hd: gpio_i2c_populate: i2c GPIO @ 10, valid: true, hwPin: 0x94 KERN: active package: "openexr-2.4.1-1-x86_64.hpkg" KERN: radeon_hd: gpio_i2c_populate: i2c GPIO @ 11, valid: true, hwPin: 0x95 KERN: package_daemon [31893457: 788] radeon_hd: gpio_i2c_populate: i2c GPIO @ 12, valid: true, hwPin: 0x96 KERN: active package: "jbig2dKERN: ec-0.19-1-x86_64.hpkg" KERN: radeon_hd: gpio_i2c_populate: i2c GPIO @ 13, valid: true, hwPin: 0x97 KERN: package_daemon [31912676: 788] radeon_hd: connector_probe: found 3 potential display paths. KERN: active package: "libicns-0.8.1-8-x86_64.hpkg" KERN: radeon_hd: pll_limit_probe: table 2.2 KERN: package_daemon [31931117: 788] radeon_hd: pll_limit_probe: referenceFreq: 27000; pllOutMin: 600000; pllOutMax: 1200000; pllInMin: 6750;pllInMax: 27000 KERN: active package: "p7zip-17.03-2-x86_64.hpkg" KERN: radeon_hd: pll_limit_probe: table 2.2 KERN: package_daemon [31951807: 788] radeon_hd: pll_limit_probe: referenceFreq: 27000; pllOutMin: 600000; pllOutMax: 1200000; pllInMin: 6750;pllInMax: 27000 KERN: active package: "diffutils-3.7-1-x86_64.hpkg" KERN: radeon_hd: pll_limit_probe: table 2.2 KERN: package_daemon [31972674: 788] radeon_hd: pll_limit_probe: referenceFreq: 27000; pllOutMin: 600000; pllOutMax: 1200000; pllInMin: 6750;pllInMax: 27000 KERN: active package: "kxmlgui-5.77.0-1-x86_64.hpkg" KERN: radeon_hd: Currently detected connectors============= KERN: package_daemon [31993624: 788] radeon_hd: Connector #0) KERN: active package: "qt5-5.15.2-1-x86_64.hpkg" KERN: radeon_hd: + connector: HDMI A KERN: package_daemon [32007300: 788] radeon_hd: + i2c gpio table id: 7 KERN: active package: "faad2-2.10.0-1-x86_64.hpkg" KERN: radeon_hd: - gpio hw pin: 0x91 KERN: package_daemon [32020979: 788] radeon_hd: - gpio valid: true KERN: active package: "boost164-1.64.0-3-x86_64.hpkg" KERN: radeon_hd: - i2c valid: true KERN: package_daemon [32035004: 788] radeon_hd: + hpd gpio table id: 1 KERN: active package: "scintilla-4.3.2-1-x86_64.hpkg" KERN: radeon_hd: - gpio hw pin: 0x2 KERN: package_daemon [32048767: 788] radeon_hd: - gpio valid: true KERN: active package: "libuv-1.40.0-1-x86_64.hpkg" KERN: radeon_hd: + encoder: TMDS KERN: package_daemon [32062445: 788] radeon_hd: - id: 32 KERN: active package: "djvulibre-3.5.27-3-x86_64.hpkg" KERN: radeon_hd: - type: Internal Kaleidoscope UNIPHY1 KERN: package_daemon [32076383: 788] radeon_hd: - capabilities: 0x0 KERN: active package: "libiconv-1.16-1-x86_64.hpkg" KERN: radeon_hd: - enumeration: 2 KERN: package_daemon [32092312: 788] radeon_hd: - is bridge: false KERN: active package: "libvorbis-1.3.7-1-x86_64.hpkg" KERN: radeon_hd: + external encoder: none KERN: package_daemon [32106164: 788] radeon_hd: + flags: KERN: active package: "freetype-2.10.4-2-x86_64.hpkg" KERN: radeon_hd: * device DFP1 support KERN: package_daemon [32118629: 788] radeon_hd: Connector #1) KERN: active package: "qthaikuplugins-5.15.2.7-1-x86_64.hpkg" KERN: radeon_hd: + connector: DVI-D (Digital Only) KERN: package_daemon [32131874: 788] radeon_hd: + i2c gpio table id: 9 KERN: active package: "medo-1.0.0~beta1.2-1-x86_64.hpkg" KERN: radeon_hd: - gpio hw pin: 0x93 KERN: package_daemon [32147284: 788] radeon_hd: - gpio valid: true KERN: active package: "nettle-3.7-1-x86_64.hpkg" KERN: radeon_hd: - i2c valid: true KERN: package_daemon [32160880: 788] radeon_hd: + hpd gpio table id: 3 KERN: active package: "kcoreaddons-5.77.0-1-x86_64.hpkg" KERN: radeon_hd: - gpio hw pin: 0x4 KERN: package_daemon [32174904: 788] radeon_hd: - gpio valid: true KERN: active package: "zlib_devel-1.2.11-4-x86_64.hpkg"
Likely cause is the "complex" logging system used: src/servers/package/DebugSupport.h
This all needs simplified... a lot.
Note:
See TracTickets
for help on using tickets.