diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-10-16 22:58:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-10-16 22:58:07 +0200 |
commit | fb0951b02ebf51a93acf12721d8857d31ce57ba3 (patch) | |
tree | b9dd7a414d8a5a600d4b41e8e830faef7b6cf22a /src/journal/journal-file.h | |
parent | 1f2da9ec5152cbf48c214969e079d9281ef68660 (diff) |
journal: implement time-based rotation/vacuuming
This also enables time-based rotation (but not vacuuming) after 1month,
so that not more one month of journal is lost at a time per vacuuming.
Diffstat (limited to 'src/journal/journal-file.h')
-rw-r--r-- | src/journal/journal-file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h index 5b1530e7a7..f52ee8c538 100644 --- a/src/journal/journal-file.h +++ b/src/journal/journal-file.h @@ -184,4 +184,4 @@ void journal_default_metrics(JournalMetrics *m, int fd); int journal_file_get_cutoff_realtime_usec(JournalFile *f, usec_t *from, usec_t *to); int journal_file_get_cutoff_monotonic_usec(JournalFile *f, sd_id128_t boot, usec_t *from, usec_t *to); -bool journal_file_rotate_suggested(JournalFile *f); +bool journal_file_rotate_suggested(JournalFile *f, usec_t max_file_usec); |