Bug 1292059 - Unnecessary logging
Summary: Unnecessary logging
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fwupd
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-16 11:17 UTC by Christian Stadelmann
Modified: 2015-12-18 17:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-18 17:43:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Christian Stadelmann 2015-12-16 11:17:42 UTC
Description of problem:
When running fwupd (happens when starting gnome-software on a default fedora 23 installation) I get these timing notices written to syslog:

org.freedesktop.fwupd[903]: ################################################################                       @0344ms AsStore:load 344ms
org.freedesktop.fwupd[903]: ##                                                                                     @0012ms AsStore:app-info{/usr/share/app-info/xmls/fedora.xml} 12ms
org.freedesktop.fwupd[903]: ##########################################################                           @0328ms AsStore:app-info{/usr/share/app-info/xmls/fedora.xml.gz} 316ms
org.freedesktop.fwupd[903]: #####################################################                                @0299ms AsStore:store-from-file 287ms
org.freedesktop.fwupd[903]: #####  @0461ms FuMain:coldplug 29ms
org.freedesktop.fwupd[903]: ##     @0446ms FuMain:coldplug{Udev} 15ms
org.freedesktop.fwupd[903]: #      @0440ms FuProviderUdev:coldplug{usb} 8ms
org.freedesktop.fwupd[903]: #    @0446ms FuProviderUdev:coldplug{pci} 6ms
org.freedesktop.fwupd[903]: ##  @0458ms FuMain:coldplug{USB} 11ms
org.freedesktop.fwupd[903]: #  @0458ms FuProviderUsb:added{058f:6362} 5ms
org.freedesktop.fwupd[903]: #  @0457ms FuProviderUsb:get-string-desc 5ms

I doubt that this is useful for anybody except developers. Not even for debugging by users. 

Version-Release number of selected component (if applicable):
fwupd-0.5.4-1.fc23.x86_64

Comment 1 Richard Hughes 2015-12-18 17:43:16 UTC
commit 2a1e75da7268e204b8186debc02d1cba77d3da43
Author: Richard Hughes <richard>
Date:   Fri Dec 18 17:42:53 2015 +0000

    Only dump the profiling data when run with --verbose
    
    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1292059


Note You need to log in before you can comment on or make changes to this bug.