Skip to content

Commit

Permalink
logger: Restore TLS logger runtime flags (#5962)
Browse files Browse the repository at this point in the history
This is a follow up to #5956, which reverts the CLI_FLAG changes.
  • Loading branch information
theopolis authored Oct 29, 2019
1 parent 5180dfa commit d373d04
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions plugins/logger/tls_logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,17 @@

namespace osquery {

CLI_FLAG(uint64,
logger_tls_max_lines,
1024,
"Max number of logs to send per period");

CLI_FLAG(string,
logger_tls_endpoint,
"",
"TLS/HTTPS endpoint for results logging");

CLI_FLAG(uint64,
logger_tls_period,
4,
"Seconds between flushing logs over TLS/HTTPS");
FLAG(uint64,
logger_tls_max_lines,
1024,
"Max number of logs to send per period");

FLAG(string, logger_tls_endpoint, "", "TLS/HTTPS endpoint for results logging");

FLAG(uint64,
logger_tls_period,
4,
"Seconds between flushing logs over TLS/HTTPS");

FLAG(uint64,
logger_tls_max_linesize,
Expand Down

0 comments on commit d373d04

Please sign in to comment.