Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logger: Expose max_lines and correct flag types #5956

Merged
merged 1 commit into from
Oct 28, 2019

Conversation

theopolis
Copy link
Member

Multiple flags are moved from FLAG to CLI_FLAG due to the way they are implemented/used in code. If they were FLAG(s), meaning if they were also configurable via configuration at runtime, the new values would still be ignored.

These are:

  • logger_tls_endpoint
  • logger_tls_period
  • logger_tls_max

The flag logger_tls_max has been renamed to logger_tls_max_linesize and an alias is added for compatibility.

A new flag is added, logger_tls_max_lines, to expose a previously hardcoded value of 1024 for the maximum number of log lines to send every period.

Multiple flags are moved from FLAG to CLI_FLAG due to the way they are
implemented/used in code. If they were FLAG(s), meaning if they were
also configurable via configuration at runtime, the new values would
still be ignored.

These are:
  - logger_tls_endpoint
  - logger_tls_period
  - logger_tls_max

The flag logger_tls_max has been renamed to logger_tls_max_linesize and
an alias is added for compatibility.

A new flag is added, logger_tls_max_lines, to expose a previously
hardcoded value of 1024 for the maximum number of log lines to send
every period.
@alessandrogario alessandrogario merged commit 0c06658 into osquery:master Oct 28, 2019
@directionless
Copy link
Member

Relates to #5882

theopolis pushed a commit to theopolis/osquery that referenced this pull request Oct 29, 2019
This is a follow up to osquery#5956, which reverts the CLI_FLAG changes.
theopolis added a commit that referenced this pull request Oct 29, 2019
This is a follow up to #5956, which reverts the CLI_FLAG changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants