Skip to content

Commit

Permalink
fix: ubuntu example to log syslog instead of messages (#785)
Browse files Browse the repository at this point in the history
Unlike RHEL and CentOS, Ubuntu writes logs to /var/log/syslog instead of
to /var/log/messages. This might have been different in the past.
  • Loading branch information
Procrat authored Apr 21, 2021
1 parent 08f9f8c commit 797fb7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ubuntu/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ module "runners" {

runner_log_files = [
{
"log_group_name" : "messages",
"log_group_name" : "syslog",
"prefix_log_group" : true,
"file_path" : "/var/log/messages",
"file_path" : "/var/log/syslog",
"log_stream_name" : "{instance_id}"
},
{
Expand Down

0 comments on commit 797fb7d

Please sign in to comment.