Eron
 
What is the URL of the How to website that you were talking about at the
meeting last night?  Been banging my head trying to remember it........
 
Ben

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eron Smith
Sent: 27 November 2006 00:12
To: Peterborough LUG - No commercial posts
Subject: Re: [Peterboro] Log Control Script


Does anyone need a lift from the P'boro city area to the LUG on
28/11/2006?
 
I am in South Bretton area so I will assist anyone who needs a lift.
 
Eron ..........

        ----- Original Message ----- 
        From: Malcolm Hunter <mailto:[EMAIL PROTECTED]>  
        To: Peterborough LUG - No commercial posts
<mailto:[email protected]>  
        Sent: 17 November 2006 11:04
        Subject: Re: [Peterboro] Log Control Script


        On Thu, November 16, 2006 9:57 pm, Stuart Clark wrote:
        > Syslogd does the HUP thing, so a killall -HUP syslogd should
be what you
        > need.
        >
        > I would also suggest adjusting the order of your script, so
that the log
        > is moved, reopened (HUP) then compressed, as a log line sent
to the
        > still open log file during or after compression will probably
break
        > things.
        
        I think you can get away with just nulling the messages file out
after
        cat'ing it through gzip:
        
        cat /var/log/messages | gzip > /var/log/messages.gz
        >/var/log/messages
        
        The latter command starts with a '>' - this is the same as 'cat
/dev/null >'.
        
        > Have you looked at "logrotate" which does all of the above,
and is
        > fairly standard?
        
        Regards,
        Malcolm
        -- 
        Technical copy-editor & proofreader
        
        KDE Proofreading Team
        KDE British English Translation Team
        
        http://i18n.kde.org/teams/info/en_GB
        
        
        _______________________________________________
        Peterboro mailing list
        [email protected]
        https://mailman.lug.org.uk/mailman/listinfo/peterboro
        

_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to