Log output is excessive

Bug #1199423 reported by Colin Ian King
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Qt bindings for libdee
New
High
Unassigned
qmenumodel
New
High
Unassigned
unity8 (Ubuntu)
In Progress
High
Unassigned

Bug Description

Flash must be considered cheap nowadays. Unity8 is dumping about 1K - 2K of logging data to /home/phablet/.ubuntu-touch-session/logs/unity8.log per second when I swipe on the music or video carousels.

To observe the write activity, install fatrace, cd to / and run sudo fatrace -c

Also, tail -f /home/phablet/.ubuntu-touch-session/logs/unity8.log shows the following log messages being appended:

file:///usr/share/unity8/Dash/Video/CarouselDelegateVideo.qml:31: Unable to assign [undefined] to QUrl
file:///usr/share/unity8/Dash/Video/CarouselDelegateVideo.qml:31: Unable to assign [undefined] to QUrl
file:///usr/share/unity8/Dash/Video/CarouselDelegateVideo.qml:31: Unable to assign [undefined] to QUrl
file:///usr/share/unity8/Dash/Video/CarouselDelegateVideo.qml:31: Unable to assign [undefined] to QUrl
file:///usr/share/unity8/Dash/Video/CarouselDelegateVideo.qml:31: Unable to assign [undefined] to QUrl
file:///usr/share/unity8/Dash/Video/CarouselDelegateVideo.qml:31: Unable to assign [undefined] to QUrl
file:///usr/share/unity8/Dash/Video/CarouselDelegateVideo.qml:31: Unable to assign [undefined] to QUrl
file:///usr/share/unity8/Dash/Video/CarouselDelegateVideo.qml:31: Unable to assign [undefined] to QUrl

ad nauseum

I'm not against logging errors, but *lots* of identical error messages filling up the flash file system at 1-2K a second costs us space and wastefully consumes power and adds to flash wear.

Related branches

tags: added: mobile-power-consumption
Stephen M. Webb (bregma)
no longer affects: unity
Michał Sawicz (saviq)
summary: - [unity8] busy logging errors to /home/phablet/.ubuntu-touch-
- session/logs/unity8.log
+ Log output is excessive
Changed in unity8:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Colin Ian King (colin-king) wrote :

The unity8 log has now changed location, however I am seeing messages still being logged frequently to tail -f /home/phablet/.cache/upstart/unity8.log

For example, just navigating from the Home Scope to the Applications and scrolling up/down and back again a few times I'm seeing the following messages being constantly appended to the log:

DEPRECATED use of Panel.opened property. This property will be made read-only,
                please use the opened property of the Page tools or use Panel.open() and Panel.close().
DEPRECATED use of Panel.opened property. This property will be made read-only,
                please use the opened property of the Page tools or use Panel.open() and Panel.close().

Revision history for this message
Colin Ian King (colin-king) wrote :

Just to add, I tested this on a Samsung Galaxy Nexus with today's image including the latest updates at 10.00am

Changed in unity8:
assignee: nobody → Nick Dedekind (nick-dedekind)
Changed in qmenumodel:
assignee: nobody → Nick Dedekind (nick-dedekind)
Changed in unity8:
status: Triaged → In Progress
Changed in dee-qt:
importance: Undecided → High
assignee: nobody → Nick Dedekind (nick-dedekind)
Changed in qmenumodel:
importance: Undecided → High
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
assignee: nobody → Nick Dedekind (nick-dedekind)
importance: Undecided → High
status: New → In Progress
Michał Sawicz (saviq)
no longer affects: unity8
Grant Slater (firefishy)
Changed in dee-qt:
assignee: Nick Dedekind (nick-dedekind) → nobody
Changed in qmenumodel:
assignee: Nick Dedekind (nick-dedekind) → nobody
Changed in unity8 (Ubuntu):
assignee: Nick Dedekind (nick-dedekind) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.