Skip to content

Commit

Permalink
enable to set loglevel
Browse files Browse the repository at this point in the history
  • Loading branch information
lutz108 committed Nov 30, 2023
1 parent 3675581 commit dc0e2c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion file/functionbeat.yml.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ${yamlencode({

# Sets log level. The default log level is info.
# Available log levels are: error, warning, info, debug
logging.level: "$${LOG_LEVEL:info}"
logging.level: "${fb_log_level}"

# ======================== Terraform generated content =========================

Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ resource "local_file" "functionbeat_config" {
output_logstash = var.lambda_config.output_logstash
fb_transaction_tags = var.fb_extra_tags
fb_extra_configuration = var.fb_extra_configuration
fb_log_level = var.fb_log_level
})
filename = "${path.module}/functionbeat.yml"
}
Expand Down

0 comments on commit dc0e2c9

Please sign in to comment.