Skip to content

Commit

Permalink
fix: Lower Logback checkIncrement value (#853)
Browse files Browse the repository at this point in the history
* set logback checkIncrement to 5s

* Update crates/stackable-operator/src/product_logging/framework.rs

Co-authored-by: Siegfried Weber <[email protected]>

* add changelog entry

* fix changelog entry

* fix changelog entry

---------

Co-authored-by: Siegfried Weber <[email protected]>
  • Loading branch information
labrenbe and siegfriedweber authored Sep 12, 2024
1 parent 5c45d27 commit 17054c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/stackable-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
### Changed

- BREAKING: `validation` module now uses typed errors ([#851]).
- Set `checkIncrement` to 5 seconds in Logback config ([#853]).

### Fixed

Expand All @@ -21,6 +22,7 @@ All notable changes to this project will be documented in this file.

[#846]: https://github.com/stackabletech/operator-rs/pull/846
[#851]: https://github.com/stackabletech/operator-rs/pull/851
[#853]: https://github.com/stackabletech/operator-rs/pull/853
[#855]: https://github.com/stackabletech/operator-rs/pull/855
[#858]: https://github.com/stackabletech/operator-rs/pull/858
[#862]: https://github.com/stackabletech/operator-rs/pull/862
Expand Down
1 change: 1 addition & 0 deletions crates/stackable-operator/src/product_logging/framework.rs
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ pub fn create_logback_config(
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>{max_log_file_size_in_mib}MB</MaxFileSize>
<checkIncrement>5 seconds</checkIncrement>
</triggeringPolicy>
</appender>
Expand Down

0 comments on commit 17054c3

Please sign in to comment.