How to limit the log file size?

Ricardo Scop scop at digitel.com.br
Fri Sep 23 06:47:40 EST 2005


Hi Rober,

On Wednesday 21 September 2005 23:07, 徐小威的EMAIL wrote:
> Hi all:
>
>     There are some daemon like snmpd, boa...has log file at directory
> var, I want to know how to limte it's file size?

I'm using emlog module (http://www.circlemud.org/~jelson/software/emlog/) to 
create circular buffers that are used as log files instead of regular ones. 
You can define the file size when it is created; runs smoothly and 
flawlessly.

HTH,

-- 
Ricardo Scop.

        \|/
    ___ -*-
   (@ @)/|\
  /  V  \|  R SCOP Consult.
 /(     )\  Linux-based communications
--^^---^^+------------------------------
rscop at matrix.com.br
+55 51 999-36-777
Porto Alegre, RS - BRazil
--
P. S.: "If you don't have time to do it right, when will you have time
to do it over?"  -- Penny Hines  




More information about the Linuxppc-embedded mailing list