Lines Matching defs:logfile
85 /* Structure to contain relevant logfile state: fd, pool and
87 struct logfile {
94 struct logfile current; /* current logfile. */
112 "Usage: %s [-v] [-l] [-L linkname] [-p prog] [-f] [-D] [-t] [-e] [-c] [-n number] <logfile> "
114 "Usage: %s [-v] [-l] [-L linkname] [-p prog] [-f] [-D] [-t] [-e] [-n number] <logfile> "
132 "<logfile>.nnnn where nnnn is the system time at which the log\n"
135 "cron scripts with it). If <logfile> contains strftime conversion\n"
147 " -t Truncate logfile instead of rotating, tail friendly.\n"
155 "where <curfile> is the filename of the newly opened logfile, and\n"
156 "<prevfile>, if given, is the filename of the previously used logfile.\n"
191 static void close_logfile(rotate_config_t *config, struct logfile *logfile)
194 fprintf(stderr, "Closing file %s\n", logfile->name);
196 apr_file_close(logfile->fd);
197 apr_pool_destroy(logfile->pool);
272 static void post_rotate(apr_pool_t *pool, struct logfile *newlog,
379 struct logfile newlog;
468 /* Close out old (previously 'current') logfile, if any. */
697 * Immediately open the logfile as we start, if we were forced