Tidier log from yum for email
I have a cron job which fires up yum each night and emails the output to the admin. When you run yum interactively the progress bar is handy, when in a batch its just a mess. But the point of a log is to see what happened, so I don't want to suppress it totally. I was trying to find this middle ground where it would report everything but the progress - anyone know the right options please? Here is what I'm getting at the moment:
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - i386 - Base
Server: Fedora Core 2 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[update: gtk2 2.4.13-2.1.i386]
[update: glib2 2.4.7-1.1.i386]
[update: gtk2-devel 2.4.13-2.1.i386]
[update: glib2-devel 2.4.7-1.1.i386]
Downloading Packages
Getting gtk2-2.4.13-2.1.i386.rpm
gtk2-2.4.13-2.1.i386.rpm 0% | | 0 B --:-- ETA gtk2-2.4.13-2.1.i386.rpm 0% | | 16 kB 01:52 ETA gtk2-2.4.13-2.1.i386.rpm 0% | | 40 kB 01:52 ETA gtk2-2.4.13-2.1.i386.rpm 1% | | 64 kB 01:48 ETA gtk2-2.4.13-2.1.i386.rpm 1% | | 88 kB 01:48 ETA gtk2-2.4.13-2.1.i386.rpm 2% | | 112 kB 01:48 ETA
gtk2-2.4.13-2.1.i386.rpm 2% |
(etc)
Thanks!
|