Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161666 - app-misc/beagle 0.2.14 uses a broken sed expression to disable debugging.
Summary: app-misc/beagle 0.2.14 uses a broken sed expression to disable debugging.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard:
Keywords:
: 162317 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-11 23:18 UTC by bugs
Modified: 2007-02-02 22:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugs 2007-01-11 23:18:20 UTC
app-misc/beagle-0.2.14 uses a broken sed expression to disable debugging.
This expression exists in prior ebuilds although I haven't verified its effectiveness.  From a cursory inspection of the code and prior patches, I'd say partially effective in prior ebuilds, not at all in this one.

Result is that beagle always logs with full debug info which can be very very extensive consuming huge amounts of disc space.



Reproducible: Always

Steps to Reproduce:

Actual Results:  
Beagle debug log level is always enabled.


Set log level to info throughout the application.  Ideally using a patch which would actually alert if the code changed.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-11 23:21:43 UTC

*** This bug has been marked as a duplicate of bug 158446 ***
Comment 2 bugs 2007-01-12 18:31:59 UTC
bug #161666 is not exactly a dupe of bug #158446
bug #158446 describes an error in the helper that adds temp files
My bug describes an issue with LogLevel that can result in massive ~/.beagle/Logs 
I really did check for existing bugs before filing mine
I was moderately surprised there wasn't one already since I had diagnosed this to someone in #gentoo-desktop or #gentoo-help or somewhere a few weeks ago
I'd say bug #158446 is probably an upstream bug
Mine is definitely gentoo's fault
Especially since upstream says that they won't customise logging, explicitly saying it is up to the distro to do that if they want to.

Comment 3 Luis Medinas (RETIRED) gentoo-dev 2007-01-15 02:57:36 UTC
We can remove the sed expression now that beagle is more stable. We don't need the debug anymore.
Thanks
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-01-16 07:47:24 UTC
*** Bug 162317 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-01-16 07:49:10 UTC
(In reply to comment #3)
> We can remove the sed expression now that beagle is more stable. We don't need
> the debug anymore.

Well I guess you've misunderstood the bug here? People are complaining about their HD space being drained by beagle debug noise (also see Bug 158446) and you've now left debug enabled by default for anyone? *blink*
Comment 6 bugs 2007-01-17 21:03:36 UTC
Aye.  The default is to have debug.
Without the sed, debug would be enabled and although according to the beagle folks they do truncate logs, they only do that on restart.
I suppose the filled HDs is a testament to recent stability of beagle and mono, but all the same...
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2007-01-28 01:26:58 UTC
I don't think there was a misunderstanding. The broken sed expression was causing the explosion, but that is now removed. Am I right in saying that the problem goes away when you sync and re-merge 0.2.14?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-01-28 01:39:05 UTC
(In reply to comment #7)
> I don't think there was a misunderstanding. The broken sed expression was
> causing the explosion, but that is now removed. Am I right in saying that the
> problem goes away when you sync and re-merge 0.2.14?

Humpf... No; that sed was broken, did nothing. Removing it did nothing. Debug is still enabled and noisy like hell, eating tons of disk space.
 

Comment 9 Luis Medinas (RETIRED) gentoo-dev 2007-02-02 22:36:33 UTC
i added a patch to 0.2.15.1 bump used on suse rpm's that decreases the log. We can't do much about this since this is upstream problem.

Thanks