Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2834 - logging in portage/ebuilds
Summary: logging in portage/ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Nicholas Jones (RETIRED)
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords:
Depends on: 3585
Blocks: 2765
  Show dependency tree
 
Reported: 2002-05-18 17:28 UTC by Ken Nowack
Modified: 2011-10-30 22:18 UTC (History)
1 user (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 Ken Nowack 2002-05-18 17:28:41 UTC
I saw a patch http://bugs.gentoo.org/show_bug.cgi?id=991 to enable some basic
dependency logging for ebuilds. I was wondering if there is still an intention
to include more logging capabilities in future portage releases? Since most
users will set 'emerge -u world' as a cron job for any production server, it's
vital that portage have built in logging functions for admins. Dependencies and
messages primarily. Otherwise we won't know that we have to rebuild
/etc/skel/.mozilla after the new version is installed and where to go to track
down dependency problems after an upgrade. Thanks much. If there's anything I
can do to help just email me.
Comment 1 Bart Lauwers (RETIRED) gentoo-dev 2002-05-21 15:10:42 UTC
Not that I would recommend running emerge -u world from cron, it is really bad
and it could hose your system as it is now maybe in the future this could become
a viable something for workstations but most server admins will want to evaluate
ahead of time what they're about to install.

On the other hand if you do run something like that from cron the output should
be emailed to root or whichever user ran the cronjob, (if you have a local mail
delivery agent).
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2002-12-15 18:04:18 UTC
/var/log/emerge.log

Build output would be tremendous.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-08-31 12:35:41 UTC
see also bug #11359
Comment 4 Owen Gunden 2003-08-31 12:42:50 UTC
<quote>Since most users will set 'emerge -u world' as a cron job for any production server</quote>

I couldn't disagree more.  Why would you ever do this?
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-08-31 13:20:15 UTC
emerge -u world in production ? never, never, never!
never touch a running system, can't figure out if it does something stupid

upgrading has to be test in really production system
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2003-09-01 14:24:51 UTC
Logging happens already. PORT_LOGDIR