-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configuration and logging improvements to logrotate_fs
This commit involves minor tweaks to the logrotate_fs to improve logging and the configuration of said generator. Also I include an example config. Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
- Loading branch information
Showing
3 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
generator: | ||
- file_gen: | ||
logrotate_fs: | ||
seed: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, | ||
59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131] | ||
concurrent_logs: 8 | ||
maximum_bytes_per_log: 100MB | ||
total_rotations: 4 | ||
max_depth: 0 | ||
variant: "ascii" | ||
bytes_per_second: 10MB | ||
maximum_prebuild_cache_size_bytes: 1GB | ||
mount_point: /tmp/logrotate | ||
|
||
blackhole: | ||
- tcp: | ||
binding_addr: "0.0.0.0:8080" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters