On Saturday 22 August 2009, Jarry wrote:
> Robin Atwood wrote:
> > 1. In /etc/conf.d/local.start add a line
> > tail -F /var/log/emerge.log | awk '{$1="";print | "logger -t emerge -p
> > local5.info"}' &
>
> Thanks. First I'll try to figure out what this line actually means! :-)

This was devised by Mike Hunt on the Portage forum (see 
http://forums.gentoo.org/viewtopic-t-788086-highlight-.html). It tails the 
default emerge log into an awk stage which deletes the Unix time stamp, and 
then logs the records into the standard syslog with the priority set to 
facility "local5" and level "info"; these can be whatever works for you.

-Robin
-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------









Reply via email to