Options to roll empty logs and log trimming (8.1.x)#6553
Merged
zwoop merged 1 commit intoapache:8.1.xfrom Mar 26, 2020
gtenev:options_roll_empty_logs_and_log_trimming_8_1_x
Merged
Options to roll empty logs and log trimming (8.1.x)#6553zwoop merged 1 commit intoapache:8.1.xfrom gtenev:options_roll_empty_logs_and_log_trimming_8_1_x
zwoop merged 1 commit intoapache:8.1.xfrom
gtenev:options_roll_empty_logs_and_log_trimming_8_1_x
Conversation
Added 2 options: - proxy.config.log.rolling_allow_empty - ability to roll empty logs (i.e. rolling logs without traffic) - proxy.config.log.rolling_max_count - trimming logs to a certain number of rolled files on each rolling More info in records.config.en.rst and rotation.en.rst. (cherry picked from commit b81422a)
randall
pushed a commit
to randall/trafficserver
that referenced
this pull request
Apr 9, 2020
* asf/8.1.x: (26 commits) Don't sleep if ProtectedQueue.localQueue is not empty. (apache#6234) Updated ChangeLog Do not change stream state from HALF_CLOSED_REMOTE with CONTINUATION frame Fixes a bug where getHostStatus() will create a host status record when none is found. A Host status record should only be created when a host is marked up or down when traffic_ctl is used to mark a host up or down. Change HostStatus to use only one stat per host. The host stat is now a string value containing all time and reason data so that it may be restored from persistent store when ATS is restarted. For Nexthop, add the capability to mark down origin servers utilizing traffic_ctl. Adds a HostStatus::loadStats() function used to load persisted HostStatus stats after a restart of trafficserver. This PR fixes apache#5248 - parent host status is not persistent accross restarts. Back port of PR 5143: Back port of PR 4664: Use optionally provided hash string for hashing backport of PR 4422: backport of PR 4441: Corrects the wording of the usage messages for traffic_ctl host subcommand. backport of PR 4217: Fix a regression in the traffic_ctl host status subcommand. Host statuses were not being found as the reason tag was left off. back port of PR 3899: add a reason tag to traffic_control host subcommand. Adjusts the format for header_rewrite string concatenation Fixes memory leaks in header_rewrite header_rewrite: Adds basic string concatenation Revert "Fix lost pending_actions causing actions on stale objects." Options to roll empty logs and log trimming (8.1.x) (apache#6553) cachekey plugin docs and clang-format/tidy changes ...
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added 2 options:
(i.e. rolling logs without traffic)
number of rolled files on each rolling
More info in records.config.en.rst and rotation.en.rst.
(cherry picked from commit b81422a)