Skip to content

Commit

Permalink
Merge pull request #8 from lutz108/feature/enable_log_level
Browse files Browse the repository at this point in the history
enable to set loglevel
  • Loading branch information
PacoVK committed Dec 11, 2023
2 parents 3675581 + dc0e2c9 commit 096dede
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 096dede

Please sign in to comment.