Project

General

Profile

Actions

Feature #7926

closed

limit clog -f look-back size

Added by Adam Thompson over 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Very Low
Assignee:
-
Category:
Logging
Target version:
-
Start date:
10/11/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

I've configured the system log files to be substantially larger than normal, in order to get some reasonable retention period on VPN logs, but this creates an unexpected problem:
  • running "clog -f /var/log/system.log" takes about 5-10 minutes (on an SG-2440) to catch up to "now" and start tail'ing the log. (Part of that is the SSH pipe, but certainly not all!)

I can't even tell where clog itself is maintained, so this might not be possible, but it would be awesome if clog supported a mechanism for NOT starting all the way back at the beginning of the file. (This would be useful in both "-f" and regular modes, for the same reasons.)

Actions

Also available in: Atom PDF