Bug 1212511

Summary: Reduce verbosity of tracker on journal logs
Product: [Fedora] Fedora Reporter: Robert Marcano <robert>
Component: trackerAssignee: Igor Gnatenko <ignatenko>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: dakingun, debarshir, ignatenko
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-17 08:34:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Journal log fragment
none
ebook log example none

Description Robert Marcano 2015-04-16 14:32:59 UTC
Created attachment 1015251 [details]
Journal log fragment

My Journal logs are flooded with tracker debug output that is extremely verbose, see attached example

Some lines written to the log contains long fragments of the documents that are being read by tracker. I think it is enough to enable warning and error output, but there is no need to a full debug log showing INSERT actions or the data that is being manipulated.

Comment 1 Robert Marcano 2015-04-16 14:52:27 UTC
There are more examples like:

Apr 16 10:17:35 localhost.localdomain gnome-session[1461]: (tracker-extract:1827): Tracker-WARNING **: Task for 'file:///home/......image.svgz' finished with error: Could not get any metadata for uri: ... and mime:'image/svg+xml-compressed'
Apr 16 10:17:35 localhost.localdomain gnome-session[1461]: (tracker-extract:1827): Tracker-WARNING **: Call to gst_discoverer_discover_uri() failed: Your GStreamer installation is missing a plug-in.

Missing metadata is not something should be logged on a non debug installation. a lot of files has no metadata

I think log entries should be limited to critical errors, and never log the content of files unless there the verbosity is increased for debug reasons

Comment 2 Debarshi Ray 2015-04-17 08:34:41 UTC
(In reply to Robert Marcano from comment #0)
> Created attachment 1015251 [details]
> Journal log fragment
> 
> My Journal logs are flooded with tracker debug output that is extremely
> verbose, see attached example

Those are not debug output, but warnings arising out of actual (serious) errors.

> Some lines written to the log contains long fragments of the documents that
> are being read by tracker. I think it is enough to enable warning and error
> output, but there is no need to a full debug log showing INSERT actions or
> the data that is being manipulated.

Which version of tracker do you have?

*** This bug has been marked as a duplicate of bug 1148570 ***

Comment 3 Robert Marcano 2015-04-17 13:27:04 UTC
tracker-1.2.5-2.fc21.x86_64

I am attaching an ebook example, This is logged everytime I start a session

Comment 4 Robert Marcano 2015-04-17 13:27:50 UTC
Created attachment 1015591 [details]
ebook log example