[Xastir] Rotating Logs

Curt, WE7U archer at eskimo.com
Tue Nov 13 16:27:48 EST 2007


On Tue, 13 Nov 2007, Chip Griffin wrote:

> I see that the text "rotate_file" occurs only in 'util.c'. I see that
> one reference is the definition of the function, one is a text
> reference for some sort of display or logging and the last is a
> function call within the "log_data" function. It appears that
> rotate_file is only called if the file size exceeds the
> MAX_LOGFILE_SIZE which is set at 2048000 (unknown units).

Bytes.


> So logfile rotation already exists, but there is no user control and
> it only happens if filesize gets really big (2 MB?). It looks like it
> is currently programmed to keep 3 files. I don't know where they are
> kept and what the renaming scheme is.

~/.xastir/logs/

--
Curt, WE7U: <www.eskimo.com/~archer/>     XASTIR: <www.xastir.org>
  "Lotto:  A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
The world DOES revolve around me:  I picked the coordinate system!



More information about the Xastir mailing list