Some scopes generate too much log output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Savilerow project |
Confirmed
|
High
|
Kyle Nitzsche |
Bug Description
Some scopes (Today, Nearby... haven't checked others) generate too detailed logs I think, flooding the logs and making it harder to notice important stuff.
Some examples:
Today scope:
==========
HINTS - location is: "/home/
HINTS - date is QDate("2015-07-05")
HINTS - Publishing dept "dashboard"
HINTS - translated title is "Welcome to the Today scope"
HINTS - pushing result "Manage your day with all the essentials."
HINTS - translated title is "See your events and more from Google."
HINTS - pushing result "<b> Review your Google sync settings</b>"
HINTS - translated title is "Track your activity with Fitbit."
HINTS - pushing result "<b> Add your account</b>"
HINTS - translated title is "Set up your accounts later."
HINTS - pushing result "<b>Skip & set up later</b>"
...
Nearby scope:
===========
"http://
"MADRID"
"4294A6"
"http://
"PAÍS VASCO"
"4294A6"
"http://
"VALENCIA"
"4294A6"
"http://
"BLOGS"
"00AFDC"
"http://
"LO MÁS VISTO"
"00AFDC"
"http://
query complete, status: ok
new item found
new item found
Type enclosure not found in item
Image not found, adding default:
"file:/
new item found
new item found
video found "http://
Type content:encoded not found in item
new item found
new item found
query complete, status: ok
new item found
video found "http://
new item found
new item found
new item found
"NEARBY:" scope found
loading renderer "/custom/
loading renderer "/custom/
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.ubuntu.
"NEARBY:" FOUND SCOPE NAME: com.ubuntu.
"NEARBY:" FOUND SCOPE NAME: com.ubuntu.
"NEARBY:" FOUND SCOPE NAME: com.ubuntu.
"NEARBY:" FOUND SCOPE NAME: mediascanner-music
"NEARBY:" FOUND SCOPE NAME: mediascanner-video
"NEARBY:" FOUND SCOPE NAME: musicaggregator
"NEARBY:" FOUND SCOPE NAME: newsagg.
"NEARBY:" FOUND SCOPE NAME: scopes
"NEARBY:" FOUND SCOPE NAME: unity-scope-nearby
"NEARBY:" FOUND SCOPE NAME: unity-scope-
"NEARBY:" FOUND SCOPE NAME: videoaggregator
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" FOUND SCOPE NAME: clickscope
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" Searching scope "com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
"NEARBY:" FOUND SCOPE NAME: com.canonical.
description: | updated |
Changed in savilerow: | |
importance: | Undecided → High |
assignee: | nobody → Kyle Nitzsche (knitzsche) |
Today, News and Photos agg scopes have all been refactored to a common .so from lp:scope-agregator. With these, you see a single multi-line report on each refresh of child scopes added by department and keyword (important info).
Nearby scope still uses the older approach (a full C++ project, not a common scope-aggreagator .so) and was a bit verbose. As of the next release (probably click version 1.2), Nearby will be the same as the others.