Commit 5555ccc
authored
Add new builtin method for log rotation (#251)
Issues: syslog-ng/syslog-ng#5541
## The problem
Recently, starting with syslog-ng OSE version *4.10* file destinations
acquired new option: `logrotate()`. This PR does three things:
- inserts `logrotate()` option usage first in enumeration of log rotate
approaches
- adds link to log rotation page in the relevant place
- fixes typos in top-level **README**.
@HofiOne, in the original issue you mentioned:
> usage of external logrotators with reload/restart
Which I find a bit confusing because I thought that adding `REOPEN`
command was done just to avoid reloading/restarting syslog-ng. If I'm
wrong here and `syslog-ng-ctl reopen` cannot be used instead of
reload/restart, I will remove relevant change in this PR.File tree
3 files changed
+31
-19
lines changed- doc/_admin-guide
- 070_Destinations/040_File
- 180_Best_practices_and_examples
3 files changed
+31
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
Lines changed: 29 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
10 | 31 | | |
11 | 32 | | |
12 | 33 | | |
| |||
17 | 38 | | |
18 | 39 | | |
19 | 40 | | |
20 | | - | |
21 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
22 | 45 | | |
23 | | - | |
| 46 | + | |
24 | 47 | | |
25 | 48 | | |
26 | 49 | | |
27 | 50 | | |
28 | 51 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 52 | | |
41 | 53 | | |
42 | 54 | | |
| |||
0 commit comments