Increase tinc logfile size.

  • I'm using the tinc package. Works very well. I will have a lot of nodes soon, and I think that the logfile will not be large enough to hold all the status at one time. How do I increase the logfile size from 10240 bytes? All the other logfiles seem to wrap at 511488 bytes.

  • Open a ssh shell.
    Goto /var/log.
    Stop tinc in the gui.
    Save tinc.log somewhere, just in case.
    Do clog -i -s 511488 tinc.log #This makes a new bigger, blank, circular log file.
    Restart tinc in the gui
    In the gui Status -> Services restart syslogd
    For further investigation, find out how to fix this in the installation.

Log in to reply