log file getting too big

KORN Andras korn-birdusers at elan.rulez.org
Wed Nov 18 10:58:55 CET 2009


On Wed, Nov 18, 2009 at 09:45:21AM +0000, David J Craigon wrote:

Hi,

> A bug report / feature request.
> 
> I'm using the log "" command to log to a file.
> 
> 1) The file seems to have a 2Gb limit on file size.
> 2) When the file gets to 2Gb, bird crashes.
> 
> Can you make 1) use the large file things so it can be bigger than 2Gb, and can
> I suggest that 2) is not the right answer- the log file not being available
> seems like a really bad reason to bring down the entire network.

As a workaround to this and similar problems, it might be a good idea to run
bird (and anything else that writes a log) under runit, logging to stdout,
and saving the logs to disk using svlogd, which can rotate the logs when
they reach a certain size or age.

Andras

-- 
 Andras Korn <korn at elan.rulez.org> - <http://chardonnay.math.bme.hu/~korn/>
              Colour... it's just a pigment of your imagination.



More information about the Bird-users mailing list