Bug 1212511 - Reduce verbosity of tracker on journal logs
Summary: Reduce verbosity of tracker on journal logs
Keywords:
Status: CLOSED DUPLICATE of bug 1148570
Alias: None
Product: Fedora
Classification: Fedora
Component: tracker
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-16 14:32 UTC by Robert Marcano
Modified: 2015-04-17 13:27 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-17 08:34:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Journal log fragment (1.58 KB, text/plain)
2015-04-16 14:32 UTC, Robert Marcano
no flags Details
ebook log example (10.36 KB, text/plain)
2015-04-17 13:27 UTC, Robert Marcano
no flags Details

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


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