Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273099 - [PATCH] Portage should allow a setting to split logs per category
Summary: [PATCH] Portage should allow a setting to split logs per category
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Conceptual/Abstract Ideas (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 289132 430138 (view as bug list)
Depends on:
Blocks: 210077 288499
  Show dependency tree
 
Reported: 2009-06-07 20:10 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2012-08-06 15:03 UTC (History)
3 users (show)

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


Attachments
put log files in category directories (todo: make it conditional on a FEATURES setting) (category_log_dir.patch,698 bytes, patch)
2009-06-08 09:40 UTC, Zac Medico
Details | Diff
Introduce FEATURES split-log and split-elog to use a category directory for logs instead of putting them all in one directory (portage-emerge-features-split-log-and-split-elog.patch,2.73 KB, patch)
2009-06-08 20:32 UTC, Sebastian Luther (few)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-07 20:10:30 UTC
This is something that somehow exists already in the form of a patch from Zac which I've been using up to now on the tinderbox.

Right now the logs are created as files in

$PORT_LOGDIR/$CATEGORY:$PF:$TIMESTAMP.log

but they should optionally be created as

$PORT_LOGDIR/$CATEGORY/$PF:$TIMESTAMP.log

creating one directory per category; without this it's not untold that the amount of files in the directory can go over 10K and make it a tedious task to attach log files with Firefox.

Thanks,
Diego
Comment 1 Zac Medico gentoo-dev 2009-06-08 09:40:35 UTC
Created attachment 193862 [details, diff]
put log files in category directories (todo: make it conditional on a FEATURES setting)
Comment 2 Sebastian Luther (few) 2009-06-08 09:55:49 UTC
What about introducing a new PORTAGE_ELOG_* variable. Like PORTAGE_ELOG_FLAT={0,1}.
Comment 3 Sebastian Luther (few) 2009-06-08 20:32:10 UTC
Created attachment 193926 [details, diff]
Introduce FEATURES split-log and split-elog to use a category directory for logs instead of putting them all in one directory
Comment 4 Zac Medico gentoo-dev 2009-10-09 22:51:50 UTC
Thanks, this is in svn r14532.
Comment 5 Zac Medico gentoo-dev 2009-10-11 00:41:17 UTC
This is fixed in 2.1.7 and 2.2_rc45.
Comment 6 Allen Brooker (AllenJB) 2009-10-14 23:07:47 UTC
*** Bug 289132 has been marked as a duplicate of this bug. ***
Comment 7 Zac Medico gentoo-dev 2012-08-06 15:03:43 UTC
*** Bug 430138 has been marked as a duplicate of this bug. ***