Lines Matching defs:trim
106 time_t trimat; /* Specific trim time */
350 warnx("config line %d: bad trim time", lineno);
355 warnx("config line %d: bad trim time", lineno);
422 * Examine a log file. If the trim conditions are met, call log_trim() to
423 * trim the log file.
430 int age, trim;
496 * Examine the set of given trim conditions and if any one is met,
497 * trim the log.
499 * Note: if `maxage' or `trimat' is used as a trim condition, we
501 * the active log file. WRT `trimat', we will trim up to one hour
502 * after the specific trim time has passed - we need to know if
507 trim = 1;
510 trim = 1;
515 trim = 1;
516 reason = "specific trim time";
518 trim = force;
519 reason = "trim forced";
522 if (trim) {
523 PRHDRINFO(("--> trim log (%s)\n", reason));
526 PRHDRINFO(("--> skip log (trim conditions not met)\n"));
530 * Trim the specified log file.