Simple check to see if the state has changed before printing.

** Tags added: vivid

** Patch added: "only_log_when_changed.patch"
   
https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1217407/+attachment/4303477/+files/only_log_when_changed.patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to whoopsie in Ubuntu.
https://bugs.launchpad.net/bugs/1217407

Title:
  whoopsie spams the log with "online" messages

Status in One Hundred Papercuts:
  Invalid
Status in Ubuntu error tracker client (whoopsie):
  Confirmed
Status in whoopsie package in Ubuntu:
  Confirmed

Bug description:
  It is mostly the "online" messages:

  $ grep whoopsie /var/log/syslog
  Aug 27 07:42:21 xango3 whoopsie[1832]: online
  Aug 27 07:42:27 xango3 whoopsie[1832]: online
  Aug 27 07:43:32  whoopsie[1832]: last message repeated 18 times
  Aug 27 07:44:50  whoopsie[1832]: last message repeated 17 times
  Aug 27 07:45:50  whoopsie[1832]: last message repeated 16 times
  Aug 27 07:46:50  whoopsie[1832]: last message repeated 16 times
  Aug 27 07:47:50  whoopsie[1832]: last message repeated 18 times
  Aug 27 07:48:50  whoopsie[1832]: last message repeated 15 times
  Aug 27 07:49:50  whoopsie[1832]: last message repeated 16 times
  Aug 27 07:50:50  whoopsie[1832]: last message repeated 21 times
  Aug 27 07:51:50  whoopsie[1832]: last message repeated 18 times
  Aug 27 07:52:50  whoopsie[1832]: last message repeated 20 times
  Aug 27 07:53:50  whoopsie[1832]: last message repeated 22 times
  Aug 27 07:54:50  whoopsie[1832]: last message repeated 15 times
  Aug 27 07:55:50  whoopsie[1832]: last message repeated 22 times
  Aug 27 07:56:50  whoopsie[1832]: last message repeated 20 times
  Aug 27 07:57:50  whoopsie[1832]: last message repeated 18 times
  Aug 27 07:58:51  whoopsie[1832]: last message repeated 16 times
  Aug 27 07:59:46  whoopsie[1832]: last message repeated 17 times
  Aug 27 07:59:47 xango3 whoopsie[1832]: online
  Aug 27 08:00:51  whoopsie[1832]: last message repeated 24 times
  Aug 27 08:01:51  whoopsie[1832]: last message repeated 24 times
  Aug 27 08:02:51  whoopsie[1832]: last message repeated 19 times
  Aug 27 08:03:51  whoopsie[1832]: last message repeated 19 times
  Aug 27 08:04:51  whoopsie[1832]: last message repeated 17 times
  Aug 27 08:05:51  whoopsie[1832]: last message repeated 19 times
  Aug 27 08:06:51  whoopsie[1832]: last message repeated 16 times
  Aug 27 08:07:51  whoopsie[1832]: last message repeated 18 times
  Aug 27 08:08:51  whoopsie[1832]: last message repeated 28 times
  Aug 27 08:09:51  whoopsie[1832]: last message repeated 21 times
  Aug 27 08:10:51  whoopsie[1832]: last message repeated 22 times
  Aug 27 08:11:51  whoopsie[1832]: last message repeated 20 times
  Aug 27 08:12:51  whoopsie[1832]: last message repeated 18 times
  Aug 27 08:13:51  whoopsie[1832]: last message repeated 16 times
  Aug 27 08:14:51  whoopsie[1832]: last message repeated 18 times
  Aug 27 08:15:51  whoopsie[1832]: last message repeated 18 times
  Aug 27 08:16:51  whoopsie[1832]: last message repeated 15 times
  Aug 27 08:17:01  whoopsie[1832]: last message repeated 2 times
  Aug 27 08:17:12 xango3 whoopsie[1832]: online
  Aug 27 08:18:21  whoopsie[1832]: last message repeated 22 times
  Aug 27 08:19:21  whoopsie[1832]: last message repeated 15 times
  Aug 27 08:19:44  whoopsie[1832]: last message repeated 5 times
  Aug 27 08:19:44 xango3 whoopsie[1832]: online
  Aug 27 08:20:48  whoopsie[1832]: last message repeated 29 times
  Aug 27 08:21:49  whoopsie[1832]: last message repeated 23 times
  Aug 27 08:22:50  whoopsie[1832]: last message repeated 24 times
  Aug 27 08:23:05  whoopsie[1832]: last message repeated 8 times
  Aug 27 08:23:10 xango3 whoopsie[1832]: online
  Aug 27 08:23:11 xango3 whoopsie[1832]: online
  Aug 27 08:23:15 xango3 whoopsie[1832]: online
  Aug 27 08:23:16 xango3 whoopsie[1832]: online
  Aug 27 08:24:17  whoopsie[1832]: last message repeated 22 times
  Aug 27 08:24:27 xango3 whoopsie[1832]: online
  Aug 27 08:24:28 xango3 whoopsie[1832]: online
  Aug 27 08:25:29  whoopsie[1832]: last message repeated 17 times
  Aug 27 08:25:40  whoopsie[1832]: last message repeated 3 times
  Aug 27 08:25:42 xango3 whoopsie[1832]: online
  Aug 27 08:25:42 xango3 whoopsie[1832]: online
  Aug 27 08:25:43 xango3 whoopsie[1832]: online
  Aug 27 08:26:44  whoopsie[1832]: last message repeated 15 times
  Aug 27 08:26:55  whoopsie[1832]: last message repeated 2 times
  Aug 27 08:26:56 xango3 whoopsie[1832]: online
  Aug 27 08:33:23 xango3 whoopsie[1568]: whoopsie 0.2.23 starting up.
  Aug 27 08:33:23 xango3 whoopsie[1568]: Using lock path: 
/var/lock/whoopsie/lock
  Aug 27 08:33:23 xango3 whoopsie[1794]: offline
  Aug 27 08:33:27 xango3 whoopsie[1794]: offline
  Aug 27 08:33:27 xango3 whoopsie[1794]: online
  Aug 27 08:33:28 xango3 whoopsie[1794]: online
  Aug 27 08:33:29 xango3 whoopsie[1794]: online
  Aug 27 08:33:29 xango3 whoopsie[1794]: online
  Aug 27 08:33:30 xango3 whoopsie[1794]: online
  Aug 27 08:37:19 xango3 whoopsie[1794]: online
  Aug 27 08:37:20 xango3 whoopsie[1794]: online
  Aug 27 08:37:27 xango3 whoopsie[1794]: online
  Aug 27 08:38:45  whoopsie[1794]: last message repeated 2 times
  Aug 27 08:39:35 xango3 whoopsie[1794]: online
  Aug 27 08:40:36  whoopsie[1794]: last message repeated 4 times
  Aug 27 08:41:57 xango3 whoopsie[1794]: online
  Aug 27 08:43:15  whoopsie[1794]: last message repeated 4 times
  Aug 27 08:43:51 xango3 whoopsie[1794]: online
  Aug 27 08:45:15  whoopsie[1794]: last message repeated 4 times
  Aug 27 08:50:29 xango3 whoopsie[1794]: online
  Aug 27 08:51:46  whoopsie[1794]: last message repeated 4 times
  Aug 27 08:52:23 xango3 whoopsie[1794]: online
  Aug 27 08:53:24  whoopsie[1794]: last message repeated 4 times
  Aug 27 09:07:33 xango3 whoopsie[1794]: online
  Aug 27 09:08:46  whoopsie[1794]: last message repeated 4 times
  Aug 27 09:09:27 xango3 whoopsie[1794]: online
  Aug 27 09:10:46  whoopsie[1794]: last message repeated 4 times
  Aug 27 09:26:28 xango3 whoopsie[1794]: online
  Aug 27 09:27:47  whoopsie[1794]: last message repeated 2 times
  Aug 27 09:41:41 xango3 whoopsie[1794]: online
  Aug 27 09:42:48  whoopsie[1794]: last message repeated 4 times
  Aug 27 09:43:35 xango3 whoopsie[1794]: online
  Aug 27 09:44:48  whoopsie[1794]: last message repeated 2 times
  Aug 27 09:54:14 xango3 whoopsie[1794]: online
  Aug 27 09:55:18  whoopsie[1794]: last message repeated 2 times

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: whoopsie 0.2.23
  ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
  Uname: Linux 3.11.0-4-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.12.1-0ubuntu2
  Architecture: amd64
  CrashReports:
   640:109:135:1442457:2013-08-24 15:45:54.414105810 -0500:2013-08-24 
15:45:52.882072686 -0500:/var/crash/_usr_bin_nm-applet.109.crash
   640:1000:135:5451572:2013-08-23 10:46:16.804771591 -0500:2013-08-23 
10:46:13.688702452 -0500:/var/crash/_usr_share_apport_apport-kde.1000.crash
   640:109:135:3258098:2013-08-24 15:45:52.826071475 -0500:2013-08-24 
15:45:50.822028146 -0500:/var/crash/_usr_sbin_unity-greeter.109.crash
   644:0:135:14684:2013-08-27 08:26:39.114007907 -0500:2013-08-19 
19:15:13.128538279 -0500:/var/crash/lttng-modules-dkms.0.crash
   640:1000:135:28058162:2013-08-23 11:45:22.587948069 -0500:2013-08-23 
11:45:04.267536872 -0500:/var/crash/_usr_bin_calibre.1000.crash
  Date: Tue Aug 27 09:53:16 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-02-10 (197 days ago)
  InstallationMedia: Kubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130209)
  MarkForUpload: True
  SourcePackage: whoopsie
  UpgradeStatus: Upgraded to saucy on 2013-06-25 (62 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1217407/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to