[Bugs] #4604 Sugar URGE: shel.log grows indefinitely

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Aug 16 07:11:48 EDT 2013


#4604: shel.log grows indefinitely
--------------------------+-------------------------------
  Reporter:  manuq        |            Owner:  manuq
      Type:  defect       |           Status:  new
  Priority:  Urgent       |        Milestone:  Unspecified
 Component:  Sugar        |          Version:  Unspecified
  Severity:  Unspecified  |       Resolution:
  Keywords:               |  Distribution/OS:  Unspecified
Bug Status:  Unconfirmed  |
--------------------------+-------------------------------
\
\
\
\
\
\
Description changed by manuq:
\

Old description:

> I have left Sugar open all the night, and today the sugar.log is huge
> because of this periodic log:
>

>     1376643104.320613 DEBUG root: ListView.update_dates
>     1376643404.315281 DEBUG root: ListView.update_dates
>     1376643704.315181 DEBUG root: ListView.update_dates
>     1376644004.315740 DEBUG root: ListView.update_dates
>     1376644304.315815 DEBUG root: ListView.update_dates
>     1376644604.315674 DEBUG root: ListView.update_dates
>     1376644904.315451 DEBUG root: ListView.update_dates
>     1376645204.317986 DEBUG root: ListView.update_dates
>     1376645504.315206 DEBUG root: ListView.update_dates
>     1376645804.315449 DEBUG root: ListView.update_dates
>     1376646104.315993 DEBUG root: ListView.update_dates
>     1376646404.315557 DEBUG root: ListView.update_dates
>     1376646704.315858 DEBUG root: ListView.update_dates
>     1376647004.315421 DEBUG root: ListView.update_dates
>     1376647304.315218 DEBUG root: ListView.update_dates
>     1376647604.315534 DEBUG root: ListView.update_dates
>     1376647904.315575 DEBUG root: ListView.update_dates
>     1376648204.315521 DEBUG root: ListView.update_dates
>     1376648504.315815 DEBUG root: ListView.update_dates
>     1376648804.315609 DEBUG root: ListView.update_dates
>     1376649104.315912 DEBUG root: ListView.update_dates
>     1376649404.322622 DEBUG root: ListView.update_dates
>     1376649704.315950 DEBUG root: ListView.update_dates
>     1376650004.316009 DEBUG root: ListView.update_dates
>     1376650304.315663 DEBUG root: ListView.update_dates

New description:

 I have left Sugar open all the night, and today the sugar.log is huge
 because of this periodic log:


     1376643104.320613 DEBUG root: ListView.update_dates
     1376643404.315281 DEBUG root: ListView.update_dates
     1376643704.315181 DEBUG root: ListView.update_dates
     1376644004.315740 DEBUG root: ListView.update_dates
     1376644304.315815 DEBUG root: ListView.update_dates
     1376644604.315674 DEBUG root: ListView.update_dates
     1376644904.315451 DEBUG root: ListView.update_dates
     1376645204.317986 DEBUG root: ListView.update_dates
     1376645504.315206 DEBUG root: ListView.update_dates
     1376645804.315449 DEBUG root: ListView.update_dates
     1376646104.315993 DEBUG root: ListView.update_dates
     1376646404.315557 DEBUG root: ListView.update_dates
     1376646704.315858 DEBUG root: ListView.update_dates
     1376647004.315421 DEBUG root: ListView.update_dates
     1376647304.315218 DEBUG root: ListView.update_dates
     1376647604.315534 DEBUG root: ListView.update_dates
     1376647904.315575 DEBUG root: ListView.update_dates
     1376648204.315521 DEBUG root: ListView.update_dates
     1376648504.315815 DEBUG root: ListView.update_dates
     1376648804.315609 DEBUG root: ListView.update_dates
     1376649104.315912 DEBUG root: ListView.update_dates
     1376649404.322622 DEBUG root: ListView.update_dates
     1376649704.315950 DEBUG root: ListView.update_dates
     1376650004.316009 DEBUG root: ListView.update_dates
     1376650304.315663 DEBUG root: ListView.update_dates

 That is Journal listview.  My Sugar was left in the home view, not in
 Journal.  'git blame' shows that the log is there since 2009, so removing
 the log line is not a solution.  Why is the Journal calling update_dates()
 that often, even when it is in the background?  Commit 7ff13734 touches
 some update code.

--
\
\
\
\

--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4604#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list