notify-osd keeps on writing to .cache/notify-osd.log and waking up my drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notify-osd (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
notify-osd append each notify message to a log in .cache/
This is problematic for several reasons:
1. I believe the logging is for debugging purposes only, yet it seems to be enabled and I'm using a standard release image
2. Each notify-osd messages causes writes to the log which causes extra unwanted Hard Disk Drive (HDD) activity. On an idle machine running on battery power this contributes to drive wakeup/
3. Unnecessary writes to this debug log causes unnecessary HDD spinup/down cycles which reduces the lifetime of spinning media as well as for SSDs
4. On busy feeds (e.g. twitter, facebook etc) the extra logging overhead and wasteful.
Since this log seems only useful for debug purposes it should be inhibited as default.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: notify-osd 0.9.32-0ubuntu3
ProcVersionSign
Uname: Linux 3.2.0-4-generic x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Thu Dec 15 16:17:51 2011
GtkTheme: Ambiance
IconTheme: ubuntu-mono-dark
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111215)
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
MachineType: LENOVO 4287CTO
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
xserver-xorg 1:7.6+7ubuntu7
libgl1-mesa-glx 7.11-0ubuntu4
libdrm2 2.4.27-1ubuntu1
xserver-
xserver-
SourcePackage: notify-osd
UpgradeStatus: No upgrade log present (probably fresh install)
WindowManager: No value set for `/desktop/
dmi.bios.date: 10/18/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET54WW (1.24 )
dmi.board.
dmi.board.name: 4287CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 4287CTO
dmi.product.
dmi.sys.vendor: LENOVO
glxinfo: Error: [Errno 2] No such file or directory
Related branches
- Mirco Müller (community): Approve
- Canonical Desktop Experience Team: Pending requested
-
Diff: 13 lines (+3/-0)1 file modifiedsrc/log.c (+3/-0)
description: | updated |
tags: | added: battery-power-consumption |
Changed in notify-osd: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in notify-osd: | |
status: | Confirmed → Fix Released |
no longer affects: | notify-osd |
This bug was fixed in the package notify-osd - 0.9.32-0ubuntu4
---------------
notify-osd (0.9.32-0ubuntu4) precise; urgency=low
* src/log.c: don't log unless the LOG environment variable is set
(lp: #904835)
-- Sebastien Bacher <email address hidden> Fri, 16 Dec 2011 18:59:28 +0100