Disable HTTP logs for InfluxDB
Change-Id: Ib8d4ef17612394bc0fc4217b74cf0295b1e1e87a Fixes-bug: #1561605
This commit is contained in:
@@ -24,6 +24,7 @@ class influxdb::configure (
|
||||
$hh_dir = undef,
|
||||
$snapshot = undef,
|
||||
$disable_anonymous_stats = true,
|
||||
$http_log_enabled = false,
|
||||
) {
|
||||
|
||||
Ini_setting {
|
||||
@@ -44,6 +45,12 @@ class influxdb::configure (
|
||||
value => $auth_enabled,
|
||||
}
|
||||
|
||||
ini_setting { 'http_log':
|
||||
section => 'http',
|
||||
setting => 'log-enabled',
|
||||
value => bool2str($http_log_enabled),
|
||||
}
|
||||
|
||||
ini_setting { 'http_bind_address':
|
||||
section => 'http',
|
||||
setting => 'bind-address',
|
||||
@@ -94,6 +101,6 @@ class influxdb::configure (
|
||||
|
||||
ini_setting { 'reporting-disabled':
|
||||
setting => 'reporting-disabled',
|
||||
value => $disable_anonymous_stats,
|
||||
value => bool2str($disable_anonymous_stats),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user